/* Service collection */
.editorial-services {
    --editorial-ink: #1d3d36;
    --editorial-muted: #62746c;
    --editorial-accent: #ad7d4a;
    background: #f7f9f5;
    padding-top: 66px;
}
.services-showcase__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dfe7df;
}
.services-showcase__count {
    display: flex;
    align-items: baseline;
    gap: 11px;
    color: var(--editorial-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.services-showcase__count strong {
    color: var(--editorial-ink);
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -.06em;
    line-height: 1;
}
.services-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.services-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4eae3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(26, 58, 47, .045);
    transition: transform .28s ease, box-shadow .28s ease;
}
.services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 52px rgba(26, 58, 47, .12);
}
.services-card__media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(140deg, #d9e7dc, #ebe9dc);
}
.services-card__media:after {
    position: absolute;
    inset: 38% 0 0;
    background: linear-gradient(transparent, rgba(19, 47, 39, .25));
    content: "";
    pointer-events: none;
}
.services-card__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    object-fit: cover;
    transition: transform .55s ease;
}
.services-card:hover .services-card__media img {
    transform: scale(1.055);
}
.services-card__image-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(25, 61, 53, .2);
    font-size: 90px;
    font-weight: 600;
    letter-spacing: -.08em;
}
.services-card__media-index {
    position: absolute;
    z-index: 1;
    bottom: 17px;
    left: 20px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.04em;
}
.services-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px 27px 28px;
}
.services-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--editorial-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.services-card__eyebrow span {
    width: 15px;
    height: 1px;
    background: currentColor;
}
.services-card h3 {
    margin: 15px 0 16px;
    color: var(--editorial-ink);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.25;
}
.services-card h3 a {
    color: inherit;
}
.services-card h3 a:hover {
    color: var(--editorial-accent);
}
.services-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 25px;
    color: var(--editorial-muted);
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.services-card__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 11px;
    margin-top: auto;
    color: var(--editorial-ink);
    font-size: 13px;
    font-weight: 700;
}
.services-card__link span {
    font-size: 20px;
    font-weight: 400;
    transition: transform .2s ease;
}
.services-card__link:hover {
    color: var(--editorial-accent);
}
.services-card__link:hover span {
    transform: translate(3px, -3px);
}
.services-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 49% minmax(0, 1fr);
    min-height: 390px;
}
.services-card--featured .services-card__media {
    height: 100%;
    aspect-ratio: auto;
}
.services-card--featured .services-card__content {
    justify-content: center;
    padding: 40px 50px;
}
.services-card--featured h3 {
    max-width: 530px;
    margin: 20px 0;
    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.17;
}
.services-card--featured p {
    max-width: 500px;
    font-size: 15px;
    -webkit-line-clamp: 4;
}
.services-detail {
    --editorial-ink: #1d3d36;
    --editorial-muted: #62746c;
    --editorial-accent: #ad7d4a;
    --editorial-border: #e1e8e0;
    background: #f7f9f5;
}
.services-article__body .section-block {
    padding: 0;
    background: transparent;
}
.services-article__body .section-block > div,
.services-article__body .section-block .row,
.services-article__body .section-block [class*="col-"] {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
}
.services-article__body .section-block [style*="padding: 30px"] {
    padding: 0 !important;
}
.services-article__body .section-heading-line-left,
.services-article__body .sec-title .decor-line {
    display: none;
}
.services-article__body .section-block img {
    display: block;
    width: 100%;
    height: 390px;
    max-width: 100%;
    margin: 0 0 37px !important;
    border-radius: 18px;
    object-fit: cover;
    float: none !important;
    box-shadow: 0 18px 42px rgba(26, 58, 47, .09);
}
.services-article__body .sec-title {
    margin: 0 0 22px !important;
}
.services-article__body .sec-title h3 {
    margin: 0;
    font-size: 27px;
}
.services-article__body .text-content-big {
    color: #30473d;
    font-size: 17px;
    line-height: 1.85;
}
.services-article__body .text-content-big h3 {
    margin-top: 38px;
}
.services-article__body .text-content-big h4 {
    margin-top: 28px;
    font-size: 19px;
}
.services-article__body .primary-list {
    padding: 0;
    list-style: none;
}
.services-article__body .primary-list li {
    position: relative;
    margin-bottom: 10px;
    padding: 12px 16px 12px 42px;
    border-left: 2px solid #dce7dc;
    border-radius: 0 10px 10px 0;
    background: #fff;
}
.services-article__body .primary-list .fa {
    position: absolute;
    top: 20px;
    left: 15px;
    color: var(--editorial-accent);
    font-size: 13px;
}
.services-related .editorial-related__copy strong {
    font-size: 13px;
}
.services-related .editorial-related__item {
    grid-template-columns: 28px minmax(0, 1fr);
}
.services-related__number {
    align-self: start;
    margin-top: 2px;
    color: var(--editorial-accent);
    font-size: 12px;
    font-weight: 700;
}
@media (max-width: 991px) {
    .services-showcase__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .services-card--featured {
        grid-template-columns: 47% minmax(0, 1fr);
        min-height: 330px;
    }
    .services-card--featured .services-card__content {
        padding: 30px;
    }
    .services-detail__layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .services-detail__aside-inner {
        position: static;
    }
}
@media (max-width: 767px) {
    .editorial-services {
        padding-top: 48px;
    }
    .services-showcase__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .services-card--featured {
        grid-column: auto;
        display: flex;
        min-height: 0;
    }
    .services-card--featured .services-card__media {
        height: auto;
        aspect-ratio: 16 / 10;
    }
    .services-card--featured .services-card__content {
        padding: 27px;
    }
    .services-card--featured h3 {
        margin: 15px 0 16px;
        font-size: 25px;
    }
    .services-article__body .section-block img {
        height: 260px;
    }
    .services-article__body .sec-title h3 {
        font-size: 23px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .services-card,
    .services-card__media img,
    .services-card__link span {
        transition: none;
    }
}
