/* ==========================================================================
   Mindsoul — Single article
   Calm editorial composition for standard WordPress posts
   ========================================================================== */

   .mindsoul-article-single {
    --article-bg: #ffffff;
    --article-bg-soft: #f7fbf9;
    --article-bg-accent: #eef6f2;

    --article-text: #243632;
    --article-muted: #63736f;
    --article-soft: #8a9a95;

    --article-primary: #4f9283;
    --article-primary-dark: #347d68;
    --article-primary-soft:
        rgba(79, 146, 131, 0.12);

    --article-purple: #6e4fb3;

    --article-line:
        rgba(79, 146, 131, 0.18);

    --article-line-neutral:
        rgba(36, 54, 50, 0.1);

    --article-transition: 220ms ease;

    color: var(--article-text);
    background: var(--article-bg);
}

.mindsoul-article-single,
.mindsoul-article-single *,
.mindsoul-article-single *::before,
.mindsoul-article-single *::after {
    box-sizing: border-box;
}

.mindsoul-article-single .wrapper {
    width: 100%;
    max-width: 1180px;

    margin-right: auto;
    margin-left: auto;

    padding-right: 32px;
    padding-left: 32px;
}

.mindsoul-article-single
.mindsoul-page-hero {
    min-height: 460px;
}

.article-eyebrow {
    margin: 0 0 10px;

    color: var(--article-primary-dark);

    font-size: 13px;
    line-height: 1.5;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   Reading context
   ========================================================================== */

.article-reading-context {
    border-bottom:
        1px solid var(--article-line);

    background: var(--article-bg-soft);
}

.article-reading-context__inner {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 64px;

    padding-top: 38px;
    padding-bottom: 38px;
}

.article-reading-context__copy {
    max-width: 650px;
}

.article-reading-context__copy h2 {
    margin: 0;

    color: var(--article-text);

    font-size: 28px;
    line-height: 1.32;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    letter-spacing: -0.01em;
}

.article-reading-context__copy
> p:last-child {
    margin: 14px 0 0;

    color: var(--article-muted);

    font-size: 15px;
    line-height: 1.75;
}

.article-reading-context__details {
    width: 360px;
    flex: 0 0 360px;
}

.article-reading-context__details ul {
    margin: 0;
    padding: 0;
}

.article-reading-context__details li {
    position: relative;

    padding-left: 20px;

    color: var(--article-muted);

    font-size: 14px;
    line-height: 1.6;
}

.article-reading-context__details
li + li {
    margin-top: 7px;
}

.article-reading-context__details
li::before {
    content: "";

    position: absolute;

    top: 9px;
    left: 0;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--article-primary);
}

.article-reading-context__link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 44px;

    margin-top: 18px;

    color: var(--article-primary-dark);

    font-size: 14px;
    line-height: 1.4;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    text-decoration: none;
}

.article-reading-context__link span {
    transition:
        transform
        var(--article-transition);
}

.article-reading-context__link:hover span {
    transform: translateY(3px);
}

/* ==========================================================================
   Article body
   ========================================================================== */

.article-content-section {
    scroll-margin-top: 110px;

    padding-top: 78px;
    padding-bottom: 82px;
}

.article-content-section__inner {
    max-width: 860px !important;
}

.article-meta {
    margin-bottom: 42px;

    padding-bottom: 24px;

    border-bottom:
        1px solid
        var(--article-line-neutral);
}

.article-meta__primary {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    color: var(--article-muted);

    font-size: 13px;
    line-height: 1.55;
}

.article-meta__category {
    color: var(--article-primary-dark);

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    text-decoration: none;
}

.article-meta__category:hover {
    color: var(--article-purple);
}

.article-meta__updated {
    margin: 10px 0 0;

    color: var(--article-soft);

    font-size: 13px;
    line-height: 1.55;
}

.article-entry-content {
    color: var(--article-text);

    font-size: 18px;
    line-height: 1.88;

    overflow-wrap: anywhere;
}

.article-entry-content > * {
    max-width: 780px;

    margin-right: auto;
    margin-left: auto;
}

.article-entry-content > * + * {
    margin-top: 24px;
}

.article-entry-content h2,
.article-entry-content h3,
.article-entry-content h4,
.article-entry-content h5,
.article-entry-content h6 {
    color: var(--article-text);

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    letter-spacing: -0.012em;
}

.article-entry-content h2 {
    margin-top: 56px;

    font-size: 31px;
    line-height: 1.32;
}

.article-entry-content h3 {
    margin-top: 42px;

    font-size: 24px;
    line-height: 1.4;
}

.article-entry-content h4 {
    margin-top: 34px;

    font-size: 20px;
    line-height: 1.45;
}

.article-entry-content p,
.article-entry-content li {
    color: var(--article-text);

    font-size: 18px;
    line-height: 1.88;
}

.article-entry-content strong,
.article-entry-content b {
    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;
}

.article-entry-content em,
.article-entry-content i {
    font-style: italic;
}

.article-entry-content a {
    color: var(--article-primary-dark);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        color
        var(--article-transition);
}

.article-entry-content a:hover {
    color: var(--article-purple);
}

.article-entry-content ul,
.article-entry-content ol {
    padding-left: 28px;
}

.article-entry-content ul {
    list-style: disc;
}

.article-entry-content ol {
    list-style: decimal;
}

.article-entry-content li + li {
    margin-top: 8px;
}

.article-entry-content blockquote,
.article-entry-content .wp-block-quote {
    margin-top: 38px;
    margin-bottom: 38px;

    padding:
        8px
        0
        8px
        28px;

    border-left:
        4px solid
        var(--article-primary);

    color: var(--article-muted);

    font-size: 20px;
    line-height: 1.75;

    font-style: italic;
}

.article-entry-content blockquote cite,
.article-entry-content
.wp-block-quote cite {
    display: block;

    margin-top: 12px;

    color: var(--article-soft);

    font-size: 13px;
    line-height: 1.5;

    font-style: normal;
}

/* ==========================================================================
   Images, figures and galleries
   ========================================================================== */

.article-entry-content figure,
.article-entry-content .wp-block-image,
.article-entry-content .wp-block-gallery,
.article-entry-content
.acf-block.grid-image {
    max-width: 960px;

    margin-top: 42px;
    margin-bottom: 42px;
}

.article-entry-content img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 16px;
}

.article-entry-content figcaption,
.article-entry-content
.wp-element-caption,
.article-entry-content .caption {
    margin-top: 10px;

    color: var(--article-soft);

    font-size: 13px;
    line-height: 1.55;

    text-align: center;
}

.article-entry-content
.wp-block-gallery,
.article-entry-content
.acf-block.grid-image .wrapper {
    display: flex;

    align-items: stretch;
    flex-wrap: wrap;

    gap: 18px;
}

.article-entry-content
.acf-block.grid-image .wrapper {
    max-width: none;
    padding: 0;
}

.article-entry-content
.wp-block-gallery > *,
.article-entry-content
.acf-block.grid-image .card {
    min-width: 220px;
    flex: 1 1 280px;
}

.article-entry-content
.acf-block.grid-image
.card-image {
    overflow: hidden;

    border-radius: 16px;
}

.article-entry-content
.acf-block.grid-image
.card-image picture {
    display: block;
}

/* ==========================================================================
   ACF quote block
   ========================================================================== */

.article-entry-content
.acf-block.quote {
    position: relative;

    max-width: 780px;

    margin-top: 42px;
    margin-right: auto;
    margin-bottom: 42px;
    margin-left: auto;

    padding:
        8px
        0
        8px
        30px;

    border-left:
        4px solid
        var(--article-primary);
}

.article-entry-content
.acf-block.quote .wrapper {
    max-width: none;
    padding: 0;
}

.article-entry-content
.acf-block.quote blockquote,
.article-entry-content
.acf-block.quote .text {
    margin: 0;
    padding: 0;

    border: 0;

    color: var(--article-text);

    font-size: 20px;
    line-height: 1.75;

    font-style: italic;
}

.article-entry-content
.acf-block.quote .written-by,
.article-entry-content
.acf-block.quote figcaption {
    margin-top: 12px;

    color: var(--article-soft);

    font-size: 13px;
    line-height: 1.5;

    font-style: normal;
}

/* ==========================================================================
   Tables and embedded content
   ========================================================================== */

.article-entry-content table {
    display: block;

    width: 100%;
    max-width: 100%;

    overflow-x: auto;

    border-collapse: collapse;

    -webkit-overflow-scrolling: touch;
}

.article-entry-content th,
.article-entry-content td {
    min-width: 150px;

    padding: 12px 14px;

    border:
        1px solid
        var(--article-line-neutral);

    font-size: 15px;
    line-height: 1.55;

    text-align: left;
}

.article-entry-content th {
    background: var(--article-bg-soft);

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;
}

.article-entry-content iframe,
.article-entry-content video {
    display: block;

    width: 100%;
    max-width: 100%;
}

.article-entry-content
.wp-block-columns {
    display: flex;

    align-items: flex-start;

    gap: 28px;
}

.article-entry-content
.wp-block-column {
    min-width: 0;
    flex: 1 1 0;
}

/* ==========================================================================
   Multipage article navigation
   ========================================================================== */

.article-page-links {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 38px;

    padding-top: 24px;

    border-top:
        1px solid
        var(--article-line-neutral);

    font-size: 14px;
}

.article-page-links a,
.article-page-links > span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    min-height: 42px;

    padding: 8px 11px;

    border:
        1px solid
        var(--article-line);

    border-radius: 9px;

    text-decoration: none;
}

/* ==========================================================================
   Closing content note
   ========================================================================== */

.article-content-note {
    max-width: 780px;

    margin:
        68px
        auto
        0;

    padding-top: 30px;

    border-top:
        1px solid
        var(--article-line);
}

.article-content-note h2 {
    margin: 0;

    color: var(--article-text);

    font-size: 23px;
    line-height: 1.4;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;
}

.article-content-note p {
    margin: 14px 0 0;

    color: var(--article-muted);

    font-size: 15px;
    line-height: 1.78;
}

/* ==========================================================================
   Next step
   ========================================================================== */

.article-next-step {
    padding-top: 72px;
    padding-bottom: 72px;

    background: var(--article-bg-accent);
}

.article-next-step__inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 72px;
}

.article-next-step__copy {
    max-width: 690px;
}

.article-next-step__copy h2 {
    margin: 0;

    color: var(--article-text);

    font-size: 34px;
    line-height: 1.3;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    letter-spacing: -0.015em;
}

.article-next-step__copy
> p:not(.article-eyebrow) {
    margin: 18px 0 0;

    color: var(--article-muted);

    font-size: 16px;
    line-height: 1.75;
}

.article-next-step__process-note {
    padding-left: 18px;

    border-left:
        3px solid
        var(--article-primary);
}

.article-next-step__privacy,
.article-next-step__privacy a {
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.article-next-step__privacy a {
    color: var(--article-primary-dark);

    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-next-step__actions {
    display: flex;

    width: 310px;
    flex: 0 0 310px;

    flex-direction: column;
    align-items: stretch;

    gap: 12px;
}

.article-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 12px 20px;

    border:
        1px solid
        transparent;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.4;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    text-align: center;
    text-decoration: none;

    transition:
        transform
        var(--article-transition),
        color
        var(--article-transition),
        background-color
        var(--article-transition),
        border-color
        var(--article-transition);
}

.article-action--primary {
    border-color:
        var(--article-primary-dark);

    background:
        var(--article-primary-dark);

    color: #ffffff;
}

.article-action--primary:hover {
    border-color: #285f50;
    background: #285f50;
    color: #ffffff;

    transform: translateY(-1px);
}

.article-action--secondary {
    border-color:
        rgba(79, 146, 131, 0.36);

    background: transparent;

    color: var(--article-primary-dark);
}

.article-action--secondary:hover {
    border-color:
        var(--article-primary-dark);

    background:
        var(--article-primary-soft);

    color:
        var(--article-primary-dark);

    transform: translateY(-1px);
}

/* ==========================================================================
   Previous and next article
   ========================================================================== */

.article-adjacent-navigation {
    background: #ffffff;
}

.article-adjacent-navigation__inner {
    display: flex;

    align-items: stretch;

    border-bottom:
        1px solid
        var(--article-line-neutral);
}

.article-adjacent-link {
    display: flex;

    width: 50%;
    min-width: 0;

    flex: 1 1 50%;

    flex-direction: column;
    justify-content: center;

    gap: 9px;

    min-height: 150px;

    padding-top: 30px;
    padding-bottom: 30px;

    color: var(--article-text);

    text-decoration: none;
}

.article-adjacent-link--previous {
    padding-right: 38px;
}

.article-adjacent-link--next {
    align-items: flex-end;

    padding-left: 38px;

    border-left:
        1px solid
        var(--article-line-neutral);

    text-align: right;
}

.article-adjacent-link__label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--article-primary-dark);

    font-size: 13px;
    line-height: 1.5;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;
}

.article-adjacent-link__title {
    max-width: 430px;

    color: var(--article-text);

    font-size: 18px;
    line-height: 1.5;

    transition:
        color
        var(--article-transition);
}

.article-adjacent-link:hover
.article-adjacent-link__title {
    color: var(--article-primary-dark);
}

/* ==========================================================================
   Related articles
   ========================================================================== */

.article-related {
    padding-top: 82px;
    padding-bottom: 96px;

    background: #ffffff;
}

.article-related__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 42px;

    margin-bottom: 38px;
}

.article-related__header h2 {
    margin: 0;

    color: var(--article-text);

    font-size: 32px;
    line-height: 1.32;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    letter-spacing: -0.015em;
}

.article-related__archive-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 44px;

    flex: 0 0 auto;

    color: var(--article-primary-dark);

    font-size: 14px;
    line-height: 1.4;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    text-decoration: none;
}

.article-related__archive-link span {
    transition:
        transform
        var(--article-transition);
}

.article-related__archive-link:hover span {
    transform: translateX(4px);
}

.article-related__list {
    border-top:
        1px solid
        var(--article-line-neutral);
}

.article-related-item {
    display: flex;

    align-items: center;

    gap: 46px;

    padding-top: 34px;
    padding-bottom: 34px;

    border-bottom:
        1px solid
        var(--article-line-neutral);
}

.article-related-item__media {
    display: block;

    width: 32%;
    flex: 0 0 32%;

    overflow: hidden;

    border-radius: 14px;

    background:
        var(--article-bg-soft);

    aspect-ratio: 1.55;
}

.article-related-item__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        420ms
        cubic-bezier(.22, 1, .36, 1);
}

.article-related-item__content {
    min-width: 0;
    flex: 1 1 auto;
}

.article-related-item__meta {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 10px;

    color: var(--article-soft);

    font-size: 12px;
    line-height: 1.5;
}

.article-related-item h3 {
    margin: 0;

    color: var(--article-text);

    font-size: 24px;
    line-height: 1.38;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;
}

.article-related-item h3 a {
    color: inherit;

    text-decoration: none;

    transition:
        color
        var(--article-transition);
}

.article-related-item h3 a:hover {
    color: var(--article-primary-dark);
}

.article-related-item__content > p {
    max-width: 680px;

    margin: 13px 0 0;

    color: var(--article-muted);

    font-size: 15px;
    line-height: 1.72;
}

.article-related-item__link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 42px;

    margin-top: 14px;

    color: var(--article-primary-dark);

    font-size: 13px;
    line-height: 1.4;

    font-family:
        "RobotoSlab-Bold",
        Georgia,
        serif;

    text-decoration: none;
}

.article-related-item__link span {
    transition:
        transform
        var(--article-transition);
}

.article-related-item__link:hover span {
    transform: translateX(4px);
}

.article-related-item:hover
.article-related-item__image {
    transform: scale(1.03);
}

/* ==========================================================================
   Focus
   ========================================================================== */

.mindsoul-article-single
a:focus-visible,
.mindsoul-article-single
button:focus-visible {
    outline:
        3px solid
        rgba(110, 79, 179, 0.48);

    outline-offset: 4px;

    border-radius: 5px;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1000px) {
    .article-reading-context__inner,
    .article-next-step__inner {
        gap: 44px;
    }

    .article-reading-context__details {
        width: 320px;
        flex-basis: 320px;
    }

    .article-next-step__actions {
        width: 290px;
        flex-basis: 290px;
    }
}

@media (max-width: 820px) {
    .mindsoul-article-single .wrapper {
        padding-right: 24px;
        padding-left: 24px;
    }

    .article-reading-context__inner,
    .article-next-step__inner,
    .article-related__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-reading-context__details,
    .article-next-step__actions {
        width: 100%;
        flex-basis: auto;
    }

    .article-next-step__actions {
        max-width: 420px;
    }

    .article-entry-content
    .wp-block-columns {
        flex-direction: column;
    }

    .article-related-item {
        gap: 30px;
    }

    .article-related-item__media {
        width: 38%;
        flex-basis: 38%;
    }
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 640px) {
    .mindsoul-article-single .wrapper {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mindsoul-article-single
    .mindsoul-page-hero {
        min-height: 390px;
    }

    .article-reading-context__inner {
        gap: 28px;

        padding-top: 30px;
        padding-bottom: 30px;
    }

    .article-reading-context__copy h2 {
        font-size: 24px;
    }

    .article-content-section {
        scroll-margin-top: 88px;

        padding-top: 56px;
        padding-bottom: 62px;
    }

    .article-meta {
        margin-bottom: 32px;
    }

    .article-entry-content,
    .article-entry-content p,
    .article-entry-content li {
        font-size: 17px;
        line-height: 1.82;
    }

    .article-entry-content h2 {
        margin-top: 44px;

        font-size: 27px;
    }

    .article-entry-content h3 {
        margin-top: 36px;

        font-size: 22px;
    }

    .article-entry-content blockquote,
    .article-entry-content
    .wp-block-quote,
    .article-entry-content
    .acf-block.quote blockquote,
    .article-entry-content
    .acf-block.quote .text {
        font-size: 18px;
    }

    .article-entry-content figure,
    .article-entry-content
    .wp-block-image,
    .article-entry-content
    .wp-block-gallery,
    .article-entry-content
    .acf-block.grid-image {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .article-entry-content
    .wp-block-gallery,
    .article-entry-content
    .acf-block.grid-image .wrapper {
        flex-direction: column;
    }

    .article-entry-content
    .wp-block-gallery > *,
    .article-entry-content
    .acf-block.grid-image .card {
        min-width: 0;
        flex-basis: auto;
    }

    .article-content-note {
        margin-top: 52px;
    }

    .article-next-step {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .article-next-step__inner {
        gap: 30px;
    }

    .article-next-step__copy h2 {
        font-size: 29px;
    }

    .article-action {
        width: 100%;
        min-height: 52px;
    }

    .article-adjacent-navigation__inner {
        flex-direction: column;
    }

    .article-adjacent-link {
        width: 100%;
        flex-basis: auto;

        min-height: 0;

        padding-top: 26px;
        padding-bottom: 26px;
    }

    .article-adjacent-link--previous {
        padding-right: 0;
    }

    .article-adjacent-link--next {
        align-items: flex-start;

        padding-left: 0;

        border-top:
            1px solid
            var(--article-line-neutral);

        border-left: 0;

        text-align: left;
    }

    .article-related {
        padding-top: 62px;
        padding-bottom: 72px;
    }

    .article-related__header {
        gap: 18px;

        margin-bottom: 28px;
    }

    .article-related__header h2 {
        font-size: 28px;
    }

    .article-related-item {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        padding-top: 28px;
        padding-bottom: 28px;
    }

    .article-related-item__media {
        width: 100%;
        flex-basis: auto;
    }

    .article-related-item h3 {
        font-size: 22px;
    }
}

@media (max-width: 380px) {
    .mindsoul-article-single .wrapper {
        padding-right: 15px;
        padding-left: 15px;
    }

    .article-reading-context__copy h2 {
        font-size: 22px;
    }

    .article-meta__primary {
        gap: 7px;
    }

    .article-entry-content,
    .article-entry-content p,
    .article-entry-content li {
        font-size: 16px;
    }

    .article-entry-content h2 {
        font-size: 25px;
    }

    .article-entry-content h3 {
        font-size: 21px;
    }

    .article-next-step__copy h2,
    .article-related__header h2 {
        font-size: 26px;
    }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .mindsoul-article-single *,
    .mindsoul-article-single *::before,
    .mindsoul-article-single *::after {
        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    .article-reading-context,
    .article-next-step,
    .article-adjacent-navigation,
    .article-related {
        display: none !important;
    }

    .mindsoul-article-single
    .mindsoul-page-hero {
        min-height: 0;

        padding-top: 30px;
        padding-bottom: 30px;

        color: #000000;
        background: #ffffff;
    }

    .mindsoul-article-single
    .mindsoul-page-hero__media {
        display: none;
    }

    .article-content-section {
        padding-top: 30px;
        padding-bottom: 0;
    }
}