.journal-page {
  --j-green: #004331;
  --j-green-soft: #0d5a44;
  --j-gold: #c57a22;
  --j-cream: #fbf7ef;
  --j-line: #eadfce;
  --j-ink: #121b18;
  --j-muted: #5d6a64;
  background: linear-gradient(180deg, #fffefd 0%, #fbf8f2 50%, #fffefd 100%);
  color: var(--j-ink);
}

.journal-page *,
.journal-page *::before,
.journal-page *::after {
  box-sizing: border-box;
}

.journal-page svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journal-wrap {
  width: min(100% - 72px, 1280px);
  margin: 0 auto;
}

.journal-section {
  padding: 34px 0;
}

.journal-section h2,
.journal-hero h1,
.journal-featured h3,
.journal-author h2,
.journal-final h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.journal-hero {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 33%, rgba(255,255,255,0.34) 54%, rgba(255,255,255,0) 72%),
    var(--hero) center right / cover no-repeat;
}

.journal-hero-grid {
  min-height: 430px;
  display: grid;
  align-items: center;
}

.journal-hero-copy {
  max-width: 430px;
}

.journal-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 0.97;
  color: #1b2421;
}

.journal-hero p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #27352f;
  font-weight: 650;
}

.journal-actions {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.jbtn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 900;
}

.jbtn-green {
  background: var(--j-green);
  color: #fff;
}

.jbtn-light,
.jbtn-outline {
  background: rgba(255,255,255,0.82);
  border-color: #c98d4a;
  color: #a76519;
}

.jbtn-gold {
  background: linear-gradient(135deg, #d99b42, #bd731f);
  color: #fff;
}

.journal-topics {
  background: linear-gradient(180deg, #fffaf1, rgba(255,255,255,0));
}

.journal-topics h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 28px;
}

.journal-topic-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.journal-topic-card {
  min-height: 190px;
  padding: 24px 18px;
  border: 1px solid var(--j-line);
  border-radius: 10px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 36px rgba(34, 25, 15, 0.06);
  text-align: center;
}

.journal-topic-card svg {
  color: var(--j-gold);
}

.journal-topic-card h3 {
  margin: 14px 0 10px;
  font-size: 16px;
}

.journal-topic-card p {
  margin: 0;
  color: var(--j-muted);
  font-size: 13px;
  line-height: 1.45;
}

.journal-month h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.journal-month-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 22px;
}

.journal-featured {
  min-height: 370px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  border-radius: 10px;
  background: var(--bg) center / cover no-repeat;
  box-shadow: 0 20px 46px rgba(34, 25, 15, 0.08);
}

.journal-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.journal-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.12) 62%, rgba(255,255,255,0.8) 100%);
}

.journal-featured > div {
  position: relative;
  z-index: 3;
  width: min(410px, 72%);
  padding: 34px 34px 30px;
  border-radius: 0 80px 0 0;
  background: rgba(255,255,255,0.9);
}

.journal-featured span,
.journal-mini-stack span,
.journal-post-card span,
.journal-author span {
  color: var(--j-gold);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.journal-featured h3 {
  margin: 10px 0 10px;
  font-size: 34px;
  line-height: 1.08;
}

.journal-featured p,
.journal-featured small {
  color: #34433d;
}

.journal-mini-stack {
  display: grid;
  gap: 18px;
}

.journal-mini-stack article,
.journal-mini-stack a {
  min-height: 176px;
  display: grid;
  align-content: end;
  padding: 24px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.84)),
    var(--bg) center / cover no-repeat;
  box-shadow: 0 16px 34px rgba(34, 25, 15, 0.06);
  color: inherit;
  text-decoration: none;
}

.journal-mini-stack h3 {
  max-width: 370px;
  margin: 7px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.1;
}

.journal-mini-stack p {
  margin: 0;
  color: var(--j-muted);
}

.journal-author-card {
  display: grid;
  grid-template-columns: 210px 1fr 340px;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--j-line);
  border-radius: 12px;
  background: linear-gradient(90deg, #fffaf3, #fff);
  box-shadow: 0 18px 42px rgba(34, 25, 15, 0.05);
}

.journal-author-card img {
  width: 210px;
  height: 210px;
  border-radius: 999px;
  object-fit: cover;
}

.journal-author-card h2 {
  margin: 8px 0 12px;
  font-size: 32px;
}

.journal-author-card p {
  margin: 0 0 18px;
  color: #253832;
  line-height: 1.55;
}

.journal-author-card aside {
  padding-left: 28px;
  border-left: 1px solid var(--j-line);
}

.journal-author-card aside h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.journal-author-card aside p {
  margin: 10px 0;
  font-size: 14px;
}

.journal-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.journal-title-row h2 {
  margin: 0;
  font-size: 32px;
}

.journal-title-row a {
  color: var(--j-gold);
  text-decoration: none;
  font-weight: 850;
}

.journal-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.journal-filter-row button {
  min-height: 38px;
  padding: 0 22px;
  border: 1px solid #ddd6cc;
  border-radius: 999px;
  background: #fff;
  color: #27352f;
  font-weight: 800;
}

.journal-filter-row .is-active {
  background: var(--j-green);
  color: #fff;
  border-color: var(--j-green);
}

.journal-post-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.journal-post-card,
.journal-small-card {
  overflow: hidden;
  border: 1px solid var(--j-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(34, 25, 15, 0.05);
}

.journal-post-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.journal-post-card div {
  padding: 16px;
}

.journal-post-card h3 {
  min-height: 76px;
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.15;
}

.journal-post-card small {
  color: var(--j-muted);
}

.journal-more {
  display: none;
}

.journal-rail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.journal-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 156px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.journal-rail::-webkit-scrollbar {
  display: none;
}

.journal-small-card img {
  width: 100%;
  height: 104px;
  object-fit: cover;
}

.journal-small-card h3 {
  margin: 12px 12px 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.journal-small-card p {
  margin: 0 12px 14px;
  color: var(--j-muted);
  font-size: 12px;
}

.journal-quote {
  min-height: 160px;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(0,67,49,0.98), rgba(0,67,49,0.86) 54%, rgba(0,67,49,0.15)),
    var(--bg) center / cover no-repeat;
  color: #fff;
}

.journal-quote div {
  max-width: 760px;
  padding: 28px 34px;
}

.journal-quote strong {
  color: #d89a42;
  font-size: 52px;
  line-height: 0.8;
}

.journal-quote h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.journal-quote p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.journal-social .journal-wrap {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr repeat(3, 170px) 240px;
  gap: 18px;
  align-items: center;
  padding: 24px 32px;
  border-radius: 10px;
  background: #fffaf3;
}

.journal-social h2 {
  margin: 0;
  font-size: 28px;
}

.journal-social a {
  min-height: 62px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--j-green);
  text-decoration: none;
  font-weight: 900;
}

.journal-social img {
  width: 100%;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
}

.journal-about .journal-wrap {
  padding: 34px 0;
  border-top: 1px solid var(--j-line);
}

.journal-about h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.journal-about .journal-wrap > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.journal-about h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.journal-about p {
  margin: 0;
  color: var(--j-muted);
  font-size: 13px;
  line-height: 1.55;
}

.journal-final {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,67,49,0.98), rgba(0,67,49,0.86) 52%, rgba(0,67,49,0.12)),
    var(--bg) center / cover no-repeat;
  padding: 34px 0;
}

.journal-final h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.journal-final p {
  max-width: 620px;
  margin: 0 0 20px;
  color: rgba(255,255,255,0.84);
}

.journal-final .jbtn {
  margin-right: 12px;
}

@media (max-width: 820px) {
  body.page-template-page-journal .site-header {
    position: absolute;
  }

  .journal-page {
    padding-bottom: 76px;
    background: #fffdf9;
  }

  .journal-wrap {
    width: min(100% - 32px, 430px);
  }

  .journal-section {
    padding: 26px 0;
  }

  .journal-hero {
    min-height: auto;
    padding: 82px 0 0;
    background: none;
  }

  .journal-hero-grid {
    min-height: 0;
    display: block;
  }

  .journal-hero-copy {
    max-width: none;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(34, 25, 15, 0.08);
  }

  .journal-hero-copy::before {
    content: "";
    display: block;
    height: 232px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 68%, rgba(255,255,255,0.26) 100%),
      var(--hero) center 58% / cover no-repeat;
  }

  .journal-hero h1,
  .journal-hero p,
  .journal-actions {
    margin-left: 18px;
    margin-right: 18px;
  }

  .journal-hero h1 {
    margin-top: 20px;
    font-size: 36px;
    line-height: 1.05;
  }

  .journal-hero p {
    font-size: 15px;
    line-height: 1.62;
  }

  .journal-actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .jbtn {
    width: 100%;
  }

  .journal-topics h2,
  .journal-month h2,
  .journal-title-row h2,
  .journal-social h2,
  .journal-about h2 {
    text-align: left;
    font-size: 25px;
    line-height: 1.1;
  }

  .journal-topic-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    scrollbar-width: none;
  }

  .journal-topic-row::-webkit-scrollbar {
    display: none;
  }

  .journal-topic-card {
    flex: 0 0 148px;
    min-height: 184px;
    display: grid;
    grid-template-rows: 34px 46px 1fr;
    align-items: center;
    justify-items: center;
    padding: 18px 13px;
  }

  .journal-topic-card svg {
    width: 34px;
    height: 34px;
  }

  .journal-topic-card h3 {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .journal-topic-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .journal-month-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .journal-featured {
    min-height: 318px;
    background-position: 58% center;
  }

  .journal-featured > div {
    width: min(55%, 218px);
    padding: 17px 14px 15px;
    border-radius: 0 12px 0 0;
    background: rgba(255,255,255,0.46);
    backdrop-filter: blur(1px);
  }

  .journal-featured h3 {
    font-size: 25px;
  }

  .journal-mini-stack article {
    min-height: 126px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.68)),
      var(--bg) center / cover no-repeat;
  }

  .journal-mini-stack h3 {
    font-size: 18px;
  }

  .journal-author-card {
    grid-template-columns: 112px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .journal-author-card img {
    width: 112px;
    height: 138px;
    border-radius: 9px;
  }

  .journal-author-card h2 {
    font-size: 20px;
  }

  .journal-author-card p {
    font-size: 12px;
  }

  .journal-author-card .jbtn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .journal-author-card aside {
    grid-column: 1 / -1;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--j-line);
  }

  .journal-title-row {
    align-items: start;
  }

  .journal-title-row a {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .journal-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .journal-filter-row button {
    flex: 0 0 auto;
  }

  .journal-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .journal-post-card img {
    height: 128px;
  }

  .journal-post-card div {
    padding: 12px;
  }

  .journal-post-card h3 {
    min-height: 82px;
    font-size: 16px;
  }

  .journal-more {
    width: 190px;
    min-height: 44px;
    display: block;
    margin: 22px auto 0;
    border: 1px solid #0c4c3a;
    border-radius: 7px;
    background: #fff;
    color: var(--j-green);
    font-weight: 900;
  }

  .journal-rail-grid {
    grid-template-columns: 1fr;
  }

  .journal-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(126px, 31%);
    gap: 14px;
    margin: 0 -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .journal-small-card {
    scroll-snap-align: start;
    min-width: 0;
  }

  .journal-small-card img {
    height: 96px;
  }

  .journal-quote {
    min-height: 250px;
    display: flex;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(0,67,49,0.95), rgba(0,67,49,0.78) 54%, rgba(0,67,49,0.35)),
      var(--bg) center / cover no-repeat;
  }

  .journal-quote div {
    padding: 22px;
  }

  .journal-quote h2 {
    font-size: 22px;
  }

  .journal-social .journal-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .journal-social h2,
  .journal-social img {
    grid-column: 1 / -1;
  }

  .journal-social a {
    min-height: 76px;
    display: grid;
    gap: 7px;
    place-items: center;
    font-size: 12px;
  }

  .journal-social a svg {
    width: 23px;
    height: 23px;
  }

  .journal-social a:nth-of-type(1) svg { color: #2aabee; }
  .journal-social a:nth-of-type(2) svg { color: #e14b83; }
  .journal-social a:nth-of-type(3) svg { color: #22a546; }

  .journal-social img {
    height: 190px;
  }

  .journal-about .journal-wrap > div {
    display: block;
  }

  .journal-about article {
    padding: 18px 0;
    border-bottom: 1px solid var(--j-line);
  }

  .journal-final {
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    margin: 0 16px 18px;
    border-radius: 8px;
    padding: 155px 22px 26px;
    background:
      linear-gradient(180deg, rgba(0,67,49,0.38) 0%, rgba(0,67,49,0.7) 46%, rgba(0,67,49,0.94) 100%),
      var(--bg) center bottom / cover no-repeat;
  }

  .journal-final h2 {
    font-size: 30px;
  }

  .journal-final .journal-wrap {
    width: 100%;
  }

  .journal-final .jbtn {
    min-height: 46px;
    margin: 0 0 9px;
  }

  body.page-template-page-journal .mobile-sticky-actions {
    display: none !important;
  }
}

.journal-mobile-actions {
  display: none;
}

@media (max-width: 820px) {
  .journal-mobile-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 10px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 0;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 12px 28px rgba(0, 48, 34, 0.18);
  }

  .journal-mobile-actions a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
    color: #fff;
    background: var(--j-green);
  }

  .journal-mobile-actions a + a {
    background: linear-gradient(180deg, #d99a3b, #c77b22);
  }
}

.journal-article-page {
  background: #fffaf3;
  color: #18231f;
}

.journal-article-hero {
  padding: 40px 0 34px;
}

.journal-article-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.journal-article-copy {
  padding: 18px 0;
}

.journal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  color: #6f7671;
  font-size: 13px;
}

.journal-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.journal-article-tag {
  margin: 0 0 12px;
  color: var(--j-gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.journal-article-copy h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.98;
}

.journal-article-lead {
  max-width: 560px;
  margin: 0 0 18px;
  color: #26342f;
  font-size: 18px;
  line-height: 1.55;
}

.journal-article-meta {
  display: flex;
  gap: 12px;
  color: #7a5a2d;
  font-weight: 800;
}

.journal-article-hero img,
.journal-article-body figure img,
.journal-article-aside img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.journal-article-hero img {
  height: 430px;
}

.journal-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
  padding-bottom: 56px;
}

.journal-article-layout article {
  padding: 38px;
  border: 1px solid var(--j-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(34, 25, 15, 0.06);
}

.journal-article-layout article p,
.journal-article-layout article li {
  color: #26342f;
  font-size: 17px;
  line-height: 1.75;
}

.journal-article-layout article h2 {
  margin: 32px 0 12px;
  font-size: 30px;
}

.journal-article-layout figure {
  margin: 28px 0;
}

.journal-article-layout figcaption {
  margin-top: 10px;
  color: #6f7671;
  font-size: 13px;
}

.journal-article-aside {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--j-line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fff8ef);
  box-shadow: 0 18px 42px rgba(34, 25, 15, 0.07);
}

.journal-article-aside img {
  height: 190px;
  margin-bottom: 18px;
}

.journal-article-aside h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.journal-article-aside p {
  color: #34433d;
  line-height: 1.55;
}

.journal-article-aside .jbtn {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .journal-article-page {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .journal-article-hero {
    padding: 0 0 20px;
  }

  .journal-article-hero-grid,
  .journal-article-layout {
    width: min(100% - 32px, 430px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .journal-article-copy {
    order: 2;
    padding: 0;
  }

  .journal-article-hero img {
    order: 1;
    height: 258px;
  }

  .journal-breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .journal-article-copy h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .journal-article-lead {
    font-size: 15px;
  }

  .journal-article-layout {
    padding-bottom: 34px;
  }

  .journal-article-layout article {
    padding: 22px 18px;
  }

  .journal-article-layout article h2 {
    font-size: 25px;
  }

  .journal-article-layout article p,
  .journal-article-layout article li {
    font-size: 14px;
    line-height: 1.65;
  }

  .journal-article-aside {
    position: static;
  }
}

.journal-cafes-page {
  background:
    linear-gradient(90deg, #fffdf8 0%, #fffdf8 78%, rgba(246, 238, 226, 0.86) 100%);
  color: #071d17;
}

.jc-hero {
  padding: 22px 0 38px;
}

.jc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.62fr);
  gap: 28px;
  align-items: stretch;
}

.jc-hero-copy {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 34px 36px;
  border: 1px solid var(--j-line);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.98), rgba(247, 239, 228, 0.9)),
    radial-gradient(circle at 10% 10%, rgba(197, 107, 0, 0.12), transparent 34%);
}

.jc-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(48px, 5.1vw, 72px);
  line-height: 0.96;
}

.jc-hero-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 -130px 120px rgba(0, 67, 49, 0.32);
}

.jc-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
}

.jc-hero-photo figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: #fffdf8;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.jc-body {
  padding-bottom: 42px;
}

.jc-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 660px) 250px;
  gap: 30px;
  align-items: start;
}

.jc-toc,
.jc-author,
.jc-walk-card,
.jc-place,
.jc-related-card {
  border: 1px solid var(--j-line);
  border-radius: 8px;
  background: #fffdf8;
}

.jc-toc {
  position: sticky;
  top: 22px;
  padding: 18px;
}

.jc-toc strong,
.jc-author strong,
.jc-walk-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--j-green);
  font-weight: 900;
}

.jc-toc a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid rgba(234, 216, 189, 0.78);
  color: #52685f;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.jc-article {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.66;
}

.jc-article p {
  margin: 0 0 20px;
}

.jc-article h2 {
  margin: 34px 0 14px;
  font-size: 36px;
  line-height: 1.06;
}

.jc-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--j-gold);
  border-radius: 0 8px 8px 0;
  background: #fbf5ec;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}

.jc-wide-photo {
  margin: 28px 0;
}

.jc-wide-photo img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.jc-wide-photo figcaption {
  margin-top: 10px;
  color: #6f7671;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

.jc-place-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  font-family: Inter, Arial, sans-serif;
}

.jc-place {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.jc-place img {
  width: 96px;
  height: 86px;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

.jc-place span,
.jc-related-card span {
  color: var(--j-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jc-place h3 {
  margin: 4px 0 5px;
  font-size: 22px;
  line-height: 1.1;
}

.jc-place p {
  margin: 0;
  color: #52685f;
  font-size: 14px;
  line-height: 1.42;
}

.jc-sidebar {
  display: grid;
  gap: 16px;
}

.jc-author,
.jc-walk-card {
  padding: 18px;
  color: #52685f;
  font-size: 14px;
  line-height: 1.55;
}

.jc-author img {
  width: 68px;
  height: 68px;
  display: block;
  margin-bottom: 12px;
  border-radius: 999px;
  object-fit: cover;
}

.jc-author p,
.jc-walk-card p {
  margin: 0;
}

.jc-walk-card {
  background: linear-gradient(160deg, #004c3b, #063f32);
  color: rgba(255, 253, 248, 0.86);
}

.jc-walk-card strong {
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
}

.jc-walk-card a {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 7px;
  background: linear-gradient(180deg, #e9ac41, #c56b00);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.jc-walk-card a + a {
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.34);
}

.jc-related {
  padding: 0 0 40px;
}

.jc-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--j-line);
}

.jc-section-title h2 {
  font-size: 36px;
  line-height: 1;
}

.jc-section-title a {
  color: var(--j-gold);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.jc-related-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jc-related-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.jc-related-card img {
  width: 100%;
  height: 136px;
  display: block;
  object-fit: cover;
}

.jc-related-card span {
  display: block;
  padding: 12px 14px 0;
}

.jc-related-card h3 {
  padding: 8px 14px 16px;
  font-size: 21px;
  line-height: 1.14;
}

.jc-mobile-actions {
  display: none;
}

@media (max-width: 820px) {
  .journal-cafes-page {
    width: min(100%, 430px);
    margin-inline: auto;
    padding-bottom: 78px;
  }

  .jc-hero {
    padding: 0 0 22px;
  }

  .jc-hero-grid,
  .jc-layout,
  .jc-related .journal-wrap {
    width: min(100% - 32px, 398px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jc-hero-copy {
    min-height: 0;
    padding: 24px 20px;
    order: 1;
  }

  .jc-hero-copy h1 {
    font-size: 38px;
    line-height: 0.98;
  }

  .jc-hero-photo {
    min-height: 220px;
    order: 2;
  }

  .jc-hero-photo img {
    min-height: 220px;
    height: 220px;
  }

  .jc-hero-photo figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: 13px;
  }

  .journal-cafes-page .journal-article-lead {
    font-size: 15px;
    line-height: 1.48;
  }

  .journal-cafes-page .journal-article-meta {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }

  .jc-toc {
    position: static;
  }

  .jc-toc a {
    display: inline;
    margin-right: 10px;
    border-top: 0;
    line-height: 2;
  }

  .jc-article {
    font-size: 18px;
    line-height: 1.58;
  }

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

  .jc-wide-photo img {
    height: 190px;
  }

  .jc-place {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .jc-place img {
    width: 78px;
    height: 74px;
  }

  .jc-place h3 {
    font-size: 19px;
  }

  .jc-sidebar {
    margin-top: 4px;
  }

  .jc-section-title h2 {
    font-size: 29px;
  }

  .jc-related-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .jc-related-row::-webkit-scrollbar {
    display: none;
  }

  .jc-related-card {
    flex: 0 0 188px;
    scroll-snap-align: start;
  }

  .jc-related-card img {
    height: 112px;
  }

  .jc-mobile-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 10px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--j-line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 12px 28px rgba(0, 48, 34, 0.18);
  }

  .jc-mobile-actions a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--j-green);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
  }

  .jc-mobile-actions a + a {
    background: linear-gradient(180deg, #d99a3b, #c77b22);
  }
}

/* v350: keep the shared two-button mobile action bar visible on the journal archive. */
@media (max-width: 820px) {
  body.page-template-page-journal .mobile-sticky-actions,
  body:has(.journal-page) .mobile-sticky-actions {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    z-index: 10020 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 6px !important;
    width: auto !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 4px !important;
    border: 1px solid rgba(196, 139, 70, 0.28) !important;
    border-radius: 8px !important;
    background: rgba(255, 253, 248, 0.96) !important;
    box-shadow: 0 -10px 28px rgba(21, 16, 9, 0.12) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.page-template-page-journal .mobile-sticky-actions::before,
  body.page-template-page-journal .mobile-sticky-actions::after,
  body:has(.journal-page) .mobile-sticky-actions::before,
  body:has(.journal-page) .mobile-sticky-actions::after {
    display: none !important;
    content: none !important;
  }

  body.page-template-page-journal .mobile-sticky-actions a,
  body.page-template-page-journal .mobile-sticky-actions .btn,
  body:has(.journal-page) .mobile-sticky-actions a,
  body:has(.journal-page) .mobile-sticky-actions .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  body.page-template-page-journal,
  body:has(.journal-page) {
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }

  body.page-template-page-journal .site-footer,
  body:has(.journal-page) .site-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    margin-bottom: 0 !important;
  }

  body.page-template-page-journal .journal-mobile-actions,
  body:has(.journal-page) .journal-mobile-actions {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(120%) !important;
  }
}

/* v359: journal mobile hero, container width, and footer/sticky spacing polish. */
@media (max-width: 767px) {
  html body.page-template-page-journal .journal-page .journal-hero-render,
  html body:has(.journal-page) .journal-page .journal-hero-render {
    width: min(calc(100vw - 32px), 398px) !important;
    min-height: 486px !important;
    border: 1px solid rgba(196, 139, 70, 0.28) !important;
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.9) 0%, rgba(255, 253, 248, 0.7) 39%, rgba(255, 253, 248, 0.18) 64%, rgba(255, 253, 248, 0) 100%),
      linear-gradient(180deg, rgba(255, 253, 248, 0) 50%, rgba(255, 253, 248, 0.28) 100%),
      var(--hero) 61% center / cover no-repeat !important;
    box-shadow: 0 16px 34px rgba(35, 24, 10, 0.08) !important;
  }

  html body.page-template-page-journal .journal-page .journal-hero-grid,
  html body:has(.journal-page) .journal-page .journal-hero-grid {
    min-height: 486px !important;
    padding: 34px 18px !important;
  }

  html body.page-template-page-journal .journal-page .journal-hero-copy h1,
  html body:has(.journal-page) .journal-page .journal-hero-copy h1 {
    max-width: 312px !important;
  }

  html body.journal-page #journal-posts > .journal-wrap,
  html body.page-template-page-journal .journal-page #journal-posts > .journal-wrap,
  html body:has(.journal-page) .journal-page #journal-posts > .journal-wrap,
  html body.journal-page .journal-rails > .journal-wrap,
  html body.page-template-page-journal .journal-page .journal-rails > .journal-wrap,
  html body:has(.journal-page) .journal-page .journal-rails > .journal-wrap,
  html body.journal-page .journal-author > .journal-author-card,
  html body.page-template-page-journal .journal-page .journal-author > .journal-author-card,
  html body:has(.journal-page) .journal-page .journal-author > .journal-author-card,
  html body.journal-page .journal-rail-grid,
  html body.page-template-page-journal .journal-page .journal-rail-grid,
  html body:has(.journal-page) .journal-page .journal-rail-grid,
  html body.journal-page .journal-rail-grid > div,
  html body.page-template-page-journal .journal-page .journal-rail-grid > div,
  html body:has(.journal-page) .journal-page .journal-rail-grid > div {
    width: min(calc(100vw - 32px), 398px) !important;
    max-width: min(calc(100vw - 32px), 398px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.page-template-page-journal .site-footer,
  html body:has(.journal-page) .site-footer {
    padding-bottom: 28px !important;
  }

  html body.page-template-page-journal .mobile-sticky-actions,
  html body:has(.journal-page) .mobile-sticky-actions {
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
}

/* v360: journal hero image refresh and mobile rail card edge fit. */
@media (max-width: 767px) {
  html body.page-template-page-journal .journal-page .journal-hero-render,
  html body:has(.journal-page) .journal-page .journal-hero-render {
    --hero: var(--pp-ready-photo-571dc3d5c572,url("https://paris-peshkom.com/wp-content/uploads/2026/10/journal-hero-paris-walk-v360.jpg")) !important;
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.9) 0%, rgba(255, 253, 248, 0.72) 38%, rgba(255, 253, 248, 0.22) 61%, rgba(255, 253, 248, 0) 100%),
      linear-gradient(180deg, rgba(255, 253, 248, 0) 54%, rgba(255, 253, 248, 0.18) 100%),
      var(--hero) 61% center / cover no-repeat !important;
  }

  html body.page-template-page-journal .journal-page .journal-rail-grid .journal-rail,
  html body:has(.journal-page) .journal-page .journal-rail-grid .journal-rail {
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
  }

  html body.page-template-page-journal .journal-page .journal-rail-grid .journal-rail .journal-small-card,
  html body:has(.journal-page) .journal-page .journal-rail-grid .journal-rail .journal-small-card {
    flex: 0 0 calc((100% - 14px) / 2) !important;
    width: calc((100% - 14px) / 2) !important;
    min-width: calc((100% - 14px) / 2) !important;
    max-width: calc((100% - 14px) / 2) !important;
  }
}


/* v403: show four latest journal posts before the mobile more button. */
@media (max-width: 640px) {
  .journal-page #journal-posts .journal-post-grid > .journal-post-card.is-mobile-collapsed:nth-of-type(-n + 4) {
    display: block !important;
  }

  .journal-page #journal-posts .journal-post-grid > .journal-post-card.is-mobile-collapsed:nth-of-type(n + 5) {
    display: none !important;
  }
}
