/* Masthead and folio treatment for the retained editorial publishing templates. */
@media screen {
  body .cp-site .gp-brand-header.gp-listen-header {
    border-bottom: 1px solid #8ba4a234;
    min-height: 80px;
  }
  body .cp-site .gp-listen-header ._wordmark_1qjqh_17 {
    position: relative;
    padding-left: 13px;
  }
  body .cp-site .gp-listen-header ._wordmark_1qjqh_17::before {
    content: "";
    position: absolute;
    inset: 3px auto 3px 0;
    width: 2px;
    background: linear-gradient(#91c6ba,#b7b7c7 55%,#ddc8b3);
  }
  body .cp-site .gp-listen-header .cp-primary-nav > a[aria-current="page"] {
    color: #dbe6dd !important;
    border-bottom-color: #bdcfc0;
  }
  body .cp-site .gp-listen-footer {
    border-top: 1px solid #8aa6a54d;
    background: #101518;
  }
  body .cp-site .gp-listen-footer a:focus-visible,
  body .cp-site .gp-listen-header :is(summary,a):focus-visible {
    outline: 2px solid #b6dcda;
    outline-offset: 4px;
  }
  body :is(.ex-page,.cp-journal-article,.cp-industry,.guide-detail) .gh-hero .gh-title .gh-title-front {
    font: italic 400 1em/1 Georgia, serif !important;
    letter-spacing: -.055em;
    text-transform: none;
    color: #e7d6ba !important;
  }
  body :is(.ex-page,.cp-journal-article,.cp-industry,.guide-detail) .gh-hero > .gh-down {
    min-height: 46px;
    border-radius: 3px;
    background: #e9e2d5;
    color: #232522;
    border: 1px solid #e9e2d5;
    box-shadow: none;
    font-size: .95rem;
  }
  body :is(.ex-page,.cp-journal-article,.cp-industry,.guide-detail) .gh-hero > .gh-art { border-radius: 3px; }
  body :is(.ex-page,.cp-journal-article,.cp-industry,.guide-detail) .gh-hero .gh-kicker {
    color: #d4c8b4;
    font-size: .75rem;
  }
  /* The portrait, deck, and title share the same ink ground. */
  body .cp-site.ex-journal .ex-content > .gh-hero {
    width: 100%; max-width: 76rem; margin: clamp(1rem,3vw,3rem) auto clamp(3rem,7vw,7rem);
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); column-gap: 0;
    padding: 0 !important; border: 0; background: transparent;
  }
  body .cp-site.ex-journal .gh-hero > .gh-art {
    width: 108%; height: auto; aspect-ratio: 1.2; align-self: stretch;
    border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0;
    mask: linear-gradient(90deg,black 48%,transparent 100%) !important;
  }
  body .cp-site.ex-journal .gh-hero .gh-title {
    font: 400 clamp(3rem,5.8vw,6.25rem)/1.01 Georgia,serif;
    letter-spacing: -.06em; text-transform: none;
  }
  body .cp-site.ex-journal .gh-hero .gh-title .gh-title-back { color: #f3ece2 !important; }
  body .cp-site.ex-journal .gh-hero .gh-title .gh-title-front { color: #e8b5b2 !important; }
  body .cp-site.ex-journal .gh-hero .gh-kicker { color: #d5ada9; letter-spacing: .14em; }
  body .cp-site.ex-journal .gh-hero .gh-summary {
    max-width: 32ch; font: 400 clamp(1.05rem,1.5vw,1.35rem)/1.5 Georgia,serif; color: #d6c9c5; text-wrap: pretty;
  }
  body .cp-site.ex-journal .gh-hero > .gh-down {
    min-height: 44px; padding: .65rem 0; gap: 1rem; background: none; color: #f6ece3;
    border: 0; border-bottom: 1px solid #c4918e; border-radius: 0;
  }
  body .cp-site.ex-journal .gh-hero > .gh-down:focus-visible { outline: 2px solid #f7bdbd; outline-offset: 4px; }
  body .cp-site.ex-journal .ex-newsline { padding-block: 1rem; }
  body .cp-site.ex-journal .ex-newsline span { letter-spacing: .09em; color: #d9c7af; }
  body .cp-site.ex-journal .ex-library .ex-story-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  body .cp-site.ex-journal .ex-library .ex-card-copy { padding-inline: 0; }

  body .cp-site .cp-journal-article {
    --jp-ink: #e0d7cf; --jp-plum: #e4acae; --jp-rule: #514549;
  }
  body .cp-site.ex-journal :is(.ex-section-heading h2,.ex-feature-copy h2) {
    font: 400 clamp(2.2rem,4.2vw,4.1rem)/1.05 Georgia,serif; letter-spacing: -.055em; text-transform: none; text-wrap: balance;
  }
  body .cp-site .cp-journal-article .gh-hero.gh-journal { column-gap: clamp(2rem,5.5vw,5.5rem); background: transparent; }
  body .cp-site .cp-journal-article .gh-hero.gh-journal > .gh-art { border: 0; border-radius: 0; outline: 0; box-shadow: none; }
  body .cp-site .cp-journal-article .gh-hero.gh-journal .gh-title {
    font: 400 clamp(2.7rem,4.85vw,5.45rem)/1.04 Georgia,serif;
    letter-spacing: -.052em; text-transform: none; text-wrap: balance;
  }
  body .cp-site .cp-journal-article .gh-hero.gh-journal > .gh-summary { color: #d2c5bd; text-wrap: pretty; }
  body .cp-site .cp-journal-article .gh-hero.gh-journal > .gh-down {
    background: transparent; border: 0; border-bottom: 1px solid #bb918a; border-radius: 0; padding-inline: 0; color: #f4e5da;
  }
  body .cp-site .cp-journal-article .jp-ending .cp-journal-article__next { border: 0; border-radius: 0; background: none; }
  body .cp-site .cp-journal-article .jp-ending .jp-next-copy { background: transparent; padding: 1.25rem 0; }
  body .cp-site .cp-journal-article .jp-ending :is(.jp-next-title,.cp-journal-article__references h2) {
    font: 400 clamp(1.8rem,3vw,2.8rem)/1.1 Georgia,serif; text-transform: none; letter-spacing: -.04em;
  }
  body .cp-site .cp-journal-article .cp-journal-article__layout {
    max-width: 69rem; grid-template-columns: minmax(11rem,14rem) minmax(0,40rem);
    gap: clamp(2.5rem,6vw,7rem); padding-block: clamp(2.2rem,5vw,5rem);
  }
  body .cp-site .cp-journal-article .cp-journal-article__body {
    padding: 0; color: var(--jp-ink); border: 0; border-radius: 0; box-shadow: none; background: transparent;
  }
  body .cp-site .cp-journal-article .cp-journal-article__body .cp-journal-article__introduction {
    color: #f4eae2 !important; max-width: 44ch; font-size: clamp(1.4rem,2.2vw,1.9rem) !important;
    letter-spacing: -.022em; line-height: 1.5 !important;
  }
  body .cp-site .cp-journal-article .cp-journal-article__connection { border-top: 0; color: #c6b6ad !important; }
  body .cp-site .cp-journal-article .cp-journal-article__body > section p { max-width: 64ch; text-wrap: pretty; }
  body .cp-site .cp-journal-article .cp-journal-article__body > section > h2 {
    color: #f2e6dd !important; font: 400 clamp(1.75rem,3.2vw,2.9rem)/1.13 Georgia,serif !important;
    text-transform: none; letter-spacing: -.043em;
  }
  body .cp-site .cp-journal-article .cp-journal-article__body > section:not(.cp-journal-article__prayer)::before { content: none; }
  body .cp-site .cp-journal-article .cp-journal-article__body > section + section:not(.cp-journal-article__prayer) { padding: 0; border: 0; margin-top: clamp(2.6rem,6vw,5.25rem); }
  body .cp-site .cp-journal-article .cp-journal-article__body > .cp-journal-article__prayer {
    margin: 3rem 0 0; padding: 0 0 0 clamp(1rem,2vw,1.8rem); border: 0; border-left: 2px solid var(--jp-plum);
    border-radius: 0; background: transparent !important; box-shadow: none;
  }
  body .cp-site .cp-journal-article .cp-journal-article__body .cp-journal-article__prayer::before { content: none; }
  body .cp-site .cp-journal-article .jp-companion-art { border: 0; border-radius: 0; }
  body .cp-site .cp-journal-article .cp-journal-article__aside > .cp-journal-article__listen {
    border: 0; border-radius: 0; border-bottom: 1px solid var(--jp-rule); background: transparent;
  }
}
@media screen and (max-width: 800px) {
  body .cp-site .cp-journal-article .cp-journal-article__layout { grid-template-columns: minmax(0,1fr); max-width: 40rem; gap: 2rem; width: calc(100% - 3rem); }
}
@media screen and (max-width: 700px) {
  body .cp-site .gp-brand-header.gp-listen-header { min-height: 62px; }
  body .cp-site.ex-journal .ex-content > .gh-hero { grid-template-columns: minmax(0,1fr); margin-block: 0 2.5rem; }
  body .cp-site.ex-journal .gh-hero > .gh-art {
    width: 100%; height: clamp(12rem,57vw,21rem); aspect-ratio: auto; margin: 0 0 -1.2rem;
    mask: linear-gradient(black 56%,transparent 100%) !important;
  }
  body .cp-site.ex-journal .gh-hero > .gh-art::after { display: none; }
  body .cp-site.ex-journal .gh-hero .gh-title { font-size: clamp(2.65rem,9.2vw,4.9rem); }
}

/* The action line grows from the reading edge and leaves the label still. */
@media screen {
  body :is(.cp-site.ex-journal,.cp-journal-article) .gh-hero > .gh-down::after {
    content: ""; display: block; position: absolute; inset: auto 0 -1px; height: 2px;
    background: #f1c0ae; transform: scaleX(0); transform-origin: left;
    pointer-events: none;
  }
  body :is(.cp-site.ex-journal,.cp-journal-article) .gh-hero > .gh-down:focus-visible::after { transform: scaleX(1); }
}
@media screen and (hover: hover) and (pointer: fine) {
  body :is(.cp-site.ex-journal,.cp-journal-article) .gh-hero > .gh-down:hover::after { transform: scaleX(1); }
}
@media screen and (prefers-reduced-motion: no-preference) {
  body :is(.cp-site.ex-journal,.cp-journal-article) .gh-hero > .gh-down::after { transition: transform 190ms ease-out; }
  body .cp-site .cp-journal-article .gh-hero.gh-journal > .gh-down:hover { transform: none; box-shadow: none; }
}

@media screen {
  body .cp-site.ex-journal, body .cp-site .cp-journal-article {
    --journal-cream: var(--gp-cream,#f5f0df); --journal-sage: var(--gp-sage,#c1cdbf);
    --journal-leaf: #a9bcaa; --journal-rule: #48564d;
    --jp-ink: #e0e3d8; --jp-plum: #bccbb5; --jp-rule: #48564d;
  }
  body .cp-site.ex-journal .gh-hero .gh-title,
  body .cp-site .cp-journal-article .gh-hero.gh-journal .gh-title,
  body .cp-site.ex-journal :is(.ex-section-heading h2,.ex-feature-copy h2,.ex-card-copy h3),
  body .cp-site .cp-journal-article .jp-ending :is(.jp-next-title,.cp-journal-article__references h2) {
    font-family: var(--gp-roman,"Cormorant Garamond",Georgia,serif); font-weight: 500; letter-spacing: -.045em; text-transform: none;
  }
  body .cp-site.ex-journal .gh-hero .gh-title .gh-title-front,
  body .cp-site .cp-journal-article .gh-hero.gh-journal .gh-title .gh-title-front {
    font-family: var(--gp-italic,"Cormorant Garamond",Georgia,serif) !important; color: var(--journal-cream) !important;
  }
  body .cp-site.ex-journal :is(.gh-kicker,.ex-eyebrow,.ex-feature-copy .ex-need,.ex-card-bottom span,.ex-newsline > span),
  body .cp-site .cp-journal-article .jp-ending :is(.jp-next-eyebrow,.jp-next-meta) { color: var(--journal-sage) !important; }
  body .cp-site.ex-journal .gh-hero > .gh-down,
  body .cp-site .cp-journal-article .gh-hero.gh-journal > .gh-down { color: var(--journal-cream); border-color: var(--journal-leaf); }
  body :is(.cp-site.ex-journal,.cp-journal-article) .gh-hero > .gh-down::after { background: #eddfb8; }
  body .cp-site.ex-journal .ex-feature-copy a.ex-button {
    color: #15271e !important; background: var(--journal-cream) !important; border: 0; border-radius: 100px; box-shadow: none;
  }
  body .cp-site.ex-journal .ex-feature :is(.ex-feature-song,.ex-feature-song a) { color: var(--journal-sage) !important; }
  body .cp-site.ex-journal .ex-library .ex-topics button {
    background: transparent; border: 1px solid #637064; border-radius: 100px; color: #dae1d1;
  }
  body .cp-site.ex-journal .ex-library .ex-topics button[aria-pressed="true"] {
    background: var(--journal-cream) !important; border-color: var(--journal-cream) !important; color: #18291f !important;
  }
  body .cp-site.ex-journal .ex-library .ex-topics button:hover { border-color: var(--journal-sage) !important; }
  body .cp-site.ex-journal .ex-library :is(input,select) { background: #15201a; border-color: #647265; color: #eeeede; }
  body .cp-site.ex-journal .ex-library :is(.ex-reset,.ex-pagination button) { color: var(--journal-sage); }
  body .cp-site.ex-journal .ex-card-copy h3 { font-size: clamp(1.55rem,2.3vw,2.35rem); line-height: 1.08; }
  body .cp-site .cp-journal-article .cp-journal-article__body > section > h2 {
    color: var(--journal-cream) !important; font-family: var(--gp-roman,"Cormorant Garamond",Georgia,serif) !important; font-weight: 500 !important;
  }
  body .cp-site .cp-journal-article .cp-journal-article__aside nav a[aria-current=true] {
    color: var(--journal-cream) !important; background: #1d2a22; border-left-color: var(--journal-leaf);
  }
  body .cp-site .cp-journal-article :is(.gp-reading-progress,.jp-reading-edge) span { background: #a8bdaa; box-shadow: none; }
  body .cp-site .cp-journal-article .gp-article-quicknav { background: #101915; border-color: #455247; }
  body .cp-site .cp-journal-article :is(.gp-article-quicknav a,.cp-journal-article__connection a),
  body .cp-site .cp-journal-article .jp-ending .cp-journal-article__references a { color: #d4ddc7 !important; }
  body .cp-site .cp-journal-article .cp-journal-article__body .cp-journal-article__prayer :is(h2,p) { color: var(--journal-cream) !important; }
  body .cp-site .cp-journal-article .jp-ending .jp-next-arrow { color: var(--journal-cream); border-color: #839580; }
  body .cp-site .cp-journal-article .jp-next-link:is(:hover,:focus-visible) .jp-next-arrow { color: #17281d; background: var(--journal-cream); }
  body :is(.cp-site.ex-journal,.cp-journal-article) :is(a,button,input,select):focus-visible { outline-color: #ebd49e; }
}

/* The Journal closes with a musical invitation followed by three study links. */
@media screen {
  body .cp-site.ex-journal .ex-content > .ex-endnote,
  body .cp-site.ex-journal > section.mn-connected {
    box-sizing: border-box; max-width: 70rem; color: var(--journal-cream);
    background: transparent !important; border: 0; border-radius: 0; box-shadow: none;
  }
  body .cp-site.ex-journal .ex-content > .ex-endnote {
    display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(1.25rem,3vw,2.5rem); row-gap: .45rem;
    margin: clamp(2.5rem,5vw,5rem) auto 0; padding: clamp(1.7rem,3.6vw,3.5rem) 0;
    border-top: 1px solid var(--journal-rule);
  }
  body .cp-site.ex-journal .ex-content > .ex-endnote > div { flex: 1 1 21rem; }
  body .cp-site.ex-journal .ex-content > .ex-endnote h2,
  body .cp-site .cp-journal-article .jp-follow h2 {
    font: 500 clamp(2.2rem,4.2vw,4.3rem)/1.01 var(--gp-roman,"Cormorant Garamond",Georgia,serif);
    color: var(--journal-cream) !important; letter-spacing: -.047em; text-transform: none;
  }
  body .cp-site.ex-journal .ex-content > .ex-endnote > a,
  body .cp-site.ex-journal > section.mn-connected .mn-actions > a {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: .65rem;
    min-height: 44px; margin: 0; padding: .35rem 0; border: 0; border-radius: 0;
    color: #d5e0cd !important; background: transparent !important; box-shadow: none;
    text-transform: none; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: #768977;
  }
  body .cp-site.ex-journal > section.mn-connected {
    width: calc(100% - 5rem); margin: 0 auto clamp(2.5rem,5vw,5rem) !important;
    padding: clamp(1.3rem,2.8vw,2rem) 0 0 !important; border-top: 1px solid #39483e;
  }
  body .cp-site.ex-journal > section.mn-connected::before, body .cp-site.ex-journal > section.mn-connected::after { content: none; }
  body .cp-site.ex-journal > section.mn-connected > .mn-kicker { color: var(--journal-sage) !important; }
  body .cp-site.ex-journal > section.mn-connected:not(.mn-connected--recording) > h2 {
    margin: .65rem 0 .4rem; font: 500 clamp(1.6rem,2.6vw,2.65rem)/1.14 var(--gp-roman,"Cormorant Garamond",Georgia,serif);
    color: var(--journal-cream); text-transform: none; letter-spacing: -.033em;
  }
  body .cp-site.ex-journal > section.mn-connected > p:not(.mn-kicker) { color: #c6d0c3; }
  body .cp-site.ex-journal > section.mn-connected .mn-actions { display: flex; flex-wrap: wrap; gap: .1rem 1.7rem; margin-top: .55rem; }
  body .cp-site .cp-journal-article .jp-follow {
    color: var(--journal-cream); background: transparent; box-shadow: none; border: 0; border-top: 1px solid var(--journal-rule); border-radius: 0;
  }
  body .cp-site .cp-journal-article .jp-follow .follow-invitation-kicker { color: var(--journal-sage) !important; }
  body .cp-site .cp-journal-article .jp-follow .follow-invitation-primary {
    background: var(--journal-cream) !important; color: #182921 !important; border-color: var(--journal-cream); border-radius: 100px;
  }
  body .cp-site .cp-journal-article .jp-follow .follow-invitation-secondary { background: transparent; color: #d5e0cd !important; border-color: #748675; }
}
@media screen and (max-width: 700px) {
  body .cp-site.ex-journal .ex-content > .ex-endnote { align-items: flex-start; flex-direction: column; }
  body .cp-site.ex-journal .ex-content > .ex-endnote > div { flex-basis: auto; }
  body .cp-site.ex-journal > section.mn-connected { width: calc(100% - 3rem); }
}
