/* ChickenJournal editorial refresh — 08 Nov 2026.
   Brand #003e19. Visual rules only: no modified ad slots, layout hooks,
   post data, featured-image rotation, or sidebar geometry. */
:root {
  --cj-forest: #003e19;
  --cj-forest-hover: #07572b;
  --cj-ink: #172d22;
  --cj-body: #394e41;
  --cj-ivory: #f9f7f1;
  --cj-sage: #edf2e9;
  --cj-sage-line: #dce6db;
  --cj-gold: #a77c45;
  --cj-radius: 18px;
}
body { color: var(--cj-body); }
body :is(h1,h2,h3,h4,h5,h6), body .entry-title, body .ast-archive-title { color: var(--cj-ink); }
body :is(.entry-title,.ast-archive-title,.page-title,.entry-content h2,.entry-content h3) {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -.024em;
}
body .site-header .menu-link, body .ast-builder-menu .menu-link { color: var(--cj-forest); }
body .ast-builder-menu .menu-item:hover > .menu-link,
body .ast-builder-menu .menu-item.current-menu-item > .menu-link,
body .ast-builder-menu .menu-item.current-menu-ancestor > .menu-link { color: var(--cj-forest-hover); }
body .site-header :is(.astra-search-icon,.search-icon) { color: var(--cj-forest); }
body :is(.entry-content,.entry-summary,.ast-archive-description,.widget,.site-footer) a:not(.wp-block-button__link):not(.cj-pin-save):not(.ast-button):not(.button) { color: var(--cj-forest); text-underline-offset: 3px; }
body :is(.entry-content,.entry-summary,.ast-archive-description,.widget,.site-footer) a:not(.wp-block-button__link):not(.cj-pin-save):not(.ast-button):not(.button):hover { color: var(--cj-forest-hover); }
body :is(.ast-button,button[type="submit"],input[type="submit"],.wp-block-search__button,.ast-scroll-to-top) {
  background-color: var(--cj-forest); color: #fff; border-color: var(--cj-forest);
}
body :is(.ast-button,button[type="submit"],input[type="submit"],.wp-block-search__button):hover {
  background-color: var(--cj-forest-hover); color: #fff; border-color: var(--cj-forest-hover);
}
body :focus-visible { outline-color: var(--cj-forest); outline-offset: 3px; }
body .ast-separate-container :is(.ast-article-post,.ast-article-single) { border-radius: var(--cj-radius); }
body .ast-article-post :is(.post-thumb img,.ast-blog-featured-section img),
body .ast-related-post .post-thumb img { border-radius: 14px; }
body .ast-article-post .entry-title a,
body .ast-related-post .entry-title a,
body .wp-block-post-title a { color: var(--cj-ink); text-decoration: none; }
body .ast-article-post .entry-title a:hover,
body .ast-related-post .entry-title a:hover,
body .wp-block-post-title a:hover { color: var(--cj-forest); }
body .ast-article-post .read-more a:not(.ast-button),
body .ast-related-post .read-more a:not(.ast-button) { color: var(--cj-forest); font-weight: 700; }
body .ast-archive-title { color: var(--cj-forest); }
body .ast-archive-description { border-radius: var(--cj-radius); }
body .entry-content blockquote:not(.wp-block-pullquote) {
  border-left-color: var(--cj-forest); background: #f3f7f1; border-radius: 0 12px 12px 0;
}
/* Readable native category/search archives. Keep Astra's layout widths intact. */
body:is(.archive,.search) .ast-article-post .entry-title { font-weight: 600; line-height: 1.25; }
body:is(.archive,.search) .ast-article-post .ast-blog-featured-section img { object-fit: cover; }
body:is(.archive,.search) .ast-article-post .entry-meta { color: #66766a; }
body .ast-pagination .page-numbers.current { background: var(--cj-forest); color: #fff; border-color: var(--cj-forest); }
body .ast-pagination .page-numbers:not(.current) { color: var(--cj-forest); }
/* In-article photo underlines: decorative forest green line below images.
   No effect on featured images outside #journey-content, Author widget, ads,
   inline banners, Grow recommendations or the Pinterest button graphics. */
.single-post #journey-content figure.wp-block-image:not(.cj-no-underline),
.single-post #journey-content figure.wp-caption:not(.cj-no-underline) { position: relative; padding-bottom: 12px; }
.single-post #journey-content figure.wp-block-image:not(.cj-no-underline)::after,
.single-post #journey-content figure.wp-caption:not(.cj-no-underline)::after {
  content: ""; position: absolute; width: 72px; height: 3px;
  border-radius: 6px; left: 50%; bottom: 0; transform: translateX(-50%);
  background: var(--cj-forest); pointer-events: none;
}
.single-post #journey-content > p > img,
.single-post #journey-content > p > a > img {
  border-bottom: 3px solid var(--cj-forest); padding-bottom: 7px;
}
/* TOC remains collapsed initially, with accent matching entire theme. */
.single-post #journey-content .cj-article-toc {
  border-color: var(--cj-sage-line); background: #f4f8f2; color: var(--cj-ink);
}
.single-post #journey-content .cj-article-toc a,
.single-post #journey-content .cj-article-toc summary::after { color: var(--cj-forest); }

/* HOMEPAGE. Custom class names leave the Gutenberg blocks easy to edit. */
.home .site-content { background: #fffefa; }
.home .entry-content { color: var(--cj-body); }
.home .entry-content .cj-home-hero {
  background: #f6f3e9 !important;
  border: 1px solid #eee9df;
  box-shadow: 0 12px 36px rgba(0,62,25,.035);
  overflow: visible;
}
.home .cj-home-hero .wp-block-columns { align-items: center; }
.home .cj-home-hero .wp-block-column { position: relative; min-width: 0; }
.home .cj-home-hero .cj-home-eyebrow,
.home .cj-home-section-eyebrow,
.home .cj-home-search-eyebrow {
  color: var(--cj-gold);
  font-size: 12px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .19em;
  line-height: 1.5;
}
.home .cj-home-hero h1 {
  color: var(--cj-forest) !important;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(38px,4.5vw,68px) !important;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.06;
  max-width: 12ch;
  margin: 20px 0 22px;
}
.home .cj-home-hero .cj-home-intro {
  color: #52635a; font-size: clamp(17px,1.4vw,20px);
  line-height: 1.75; max-width: 46ch;
}
.home .cj-home-hero .wp-block-buttons { margin: 26px 0 24px; gap: 16px; }
.home .cj-home-hero .wp-block-button__link {
  background: var(--cj-forest) !important; color: #fff !important;
  border: 1px solid var(--cj-forest);
  padding: 16px 24px; font-size: 15px; font-weight: 700;
  border-radius: 12px !important; text-decoration: none;
  transition: background-color .18s ease;
}
.home .cj-home-hero .wp-block-button:nth-child(2) .wp-block-button__link {
  background: transparent !important; color: var(--cj-forest) !important;
  border-color: transparent; padding-left: 0;
}
.home .cj-home-hero .wp-block-button__link:hover { background: var(--cj-forest-hover) !important; color: #fff !important; }
.home .cj-home-hero .wp-block-button:nth-child(2) .wp-block-button__link:hover { background: transparent !important; color: var(--cj-forest-hover) !important; }
.home .cj-home-hero .cj-home-hero-kicker { color: #829184; font-size: 13px; letter-spacing: .06em; }
.home .cj-home-hero figure.wp-block-image {
  margin: 0; border-radius: 170px 170px 20px 20px;
  overflow: hidden; aspect-ratio: 1 / 1.12;
}
.home .cj-home-hero figure.wp-block-image img {
  border-radius: 170px 170px 20px 20px !important;
  width: 100%; height: 100%; object-fit: cover;
}
.home .cj-home-hero .cj-home-spotlight {
  position: absolute; right: -12px; bottom: -22px;
  margin: 0; max-width: min(90%,390px);
  border: 1px solid #edeae2;
  box-shadow: 0 14px 34px rgba(9,33,17,.13);
  border-radius: 12px; background: #fffefa;
  padding: 18px 23px; z-index: 2;
}
.home .cj-home-hero .cj-home-spotlight-label {
  font-size: 11px !important; line-height: 1.4; font-weight: 800;
  letter-spacing: .16em; color: var(--cj-gold); margin: 0 0 7px;
}
.home .cj-home-hero .cj-home-spotlight-link {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(16px,1.55vw,21px) !important; font-weight: 700;
  line-height: 1.23; margin: 0;
}
.home .cj-home-hero .cj-home-spotlight-link a { color: var(--cj-forest) !important; text-decoration: none !important; }
.home .cj-home-hero .cj-home-spotlight-link a::after { content: " ↗"; }
.home .cj-home-hero .cj-home-spotlight-link a:hover { text-decoration: underline !important; }
.home .cj-home-topics,
.home .cj-home-latest,
.home .cj-home-guides,
.home .cj-home-search-panel { margin-block: 72px; }
.home .cj-home-topics h2,
.home .cj-home-latest h2,
.home .cj-home-guides h2,
.home .cj-home-search-panel h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  color: var(--cj-forest); letter-spacing: -.042em;
  font-size: clamp(30px,3.3vw,46px); line-height: 1.16;
  margin: 12px 0 24px;
}
.home .cj-topic-grid { gap: 14px; margin-top: 26px; }
.home .cj-topic-grid > .wp-block-column { min-width: 0; }
.home .cj-topic-card {
  position: relative; min-height: 175px; display: flex;
  flex-direction: column; justify-content: end;
  border: 1px solid #e7e4d9; border-radius: 15px;
  padding: 19px 17px; background: #f2f0e7;
  transition: transform .18s ease, box-shadow .18s ease;
}
.home .cj-topic-grid > .wp-block-column:nth-child(2n) .cj-topic-card { background: #edf2e9; }
.home .cj-topic-grid > .wp-block-column:nth-child(3n) .cj-topic-card { background: #f8eee5; }
.home .cj-topic-card::before { content: "✳"; color: #c69a67; font-size: 25px; position: absolute; top: 13px; right: 16px; }
.home .cj-topic-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,62,25,.09); }
.home .cj-topic-card .cj-topic-title { margin: 0; font: 700 clamp(17px,1.4vw,21px)/1.22 Georgia, Cambria, "Times New Roman", serif; }
.home .cj-topic-card .cj-topic-title a {
  color: var(--cj-forest) !important; text-decoration: none !important;
}
.home .cj-topic-card .cj-topic-title a::after { content: ""; position: absolute; inset: 0; }
.home .cj-topic-card .cj-topic-description { font-size: 12px; line-height: 1.45; color: #6d7a70; margin: 9px 0 0; }
.home .cj-topic-card .cj-topic-description::after { content: " ↗"; float: right; color: #a77c45; font-weight: 800; font-size: 16px; }
.home .cj-home-latest .wp-block-post-template {
  gap: 24px !important; row-gap: 28px !important;
}
.home .cj-home-latest .wp-block-post-template > li > .wp-block-group {
  background: #fffefa !important; border: 1px solid #ebeae4;
  border-radius: 18px !important; padding: 12px 12px 20px !important;
  box-shadow: 0 6px 24px rgba(0,62,25,.035);
  height: 100%;
}
.home .cj-home-latest .wp-block-post-featured-image { margin-bottom: 14px; overflow: hidden; border-radius: 13px; }
.home .cj-home-latest .wp-block-post-featured-image img { border-radius: 13px !important; width: 100%; object-fit: cover; }
.home .cj-home-latest .wp-block-post-title {
  padding: 0 5px; font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(18px,1.55vw,21px) !important;
  font-weight: 700 !important; line-height: 1.3 !important;
}
.home .cj-home-latest .wp-block-post-title a { color: var(--cj-forest); }
.home .cj-home-guides { background: #eef3eb !important; border-radius: 22px !important; }
.home .cj-home-guides .wp-block-post-template .wp-block-group { background: #fffefa !important; }
.home .cj-home-guides .wp-block-post-title { font-family: Georgia, Cambria, "Times New Roman", serif; }
.home .cj-home-search-panel {
  background: var(--cj-forest) !important;
  color: #fff; border-radius: 18px !important;
  padding: 48px !important;
}
.home .cj-home-search-panel h2 { color: #fff !important; margin-bottom: 12px; }
.home .cj-home-search-panel p:not(.cj-home-search-eyebrow) { color: #dce7db; }
.home .cj-home-search-panel .wp-block-search__inside-wrapper { border: 0; gap: 9px; }
.home .cj-home-search-panel .wp-block-search__input {
  border: 1px solid #cdd6cc; background: #fff; color: #172d22;
  border-radius: 9px; min-height: 50px; font-size: 15px;
}
.home .cj-home-search-panel .wp-block-search__button {
  background: #b38b57; border: 0; border-radius: 9px; color: #fff;
  margin-left: 6px; min-height: 50px; font-weight: 700;
}
.home .cj-home-search-panel .wp-block-search__button:hover { background: #986c3f; }
@media (min-width: 1100px) {
  .home .cj-home-hero { padding: 64px !important; margin-top: 22px !important; margin-bottom: 80px !important; }
}
@media (max-width: 1099px) {
  .home .cj-home-hero { padding: 36px !important; }
  .home .cj-home-hero .cj-home-spotlight { right: 0; }
  .home .cj-topic-grid { flex-wrap: wrap !important; }
  .home .cj-topic-grid > .wp-block-column { flex-basis: calc(33.333% - 14px) !important; flex-grow: 1; }
}
@media (max-width: 767px) {
  .home .cj-home-hero { padding: 26px 20px 32px !important; margin: 0 0 52px !important; border-radius: 20px !important; }
  .home .cj-home-hero h1 { font-size: clamp(38px,10vw,52px) !important; }
  .home .cj-home-hero .wp-block-columns { gap: 26px; }
  .home .cj-home-hero figure.wp-block-image { aspect-ratio: 4/3; border-radius: 100px 100px 14px 14px; }
  .home .cj-home-hero figure.wp-block-image img { border-radius: 100px 100px 14px 14px !important; }
  .home .cj-home-hero .cj-home-spotlight { position: relative; bottom: auto; right: auto; margin: -28px 10px 0; max-width: 100%; }
  .home .cj-topic-grid > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
  .home .cj-topic-card { min-height: 155px; }
  .home :is(.cj-home-topics,.cj-home-latest,.cj-home-guides,.cj-home-search-panel) { margin-block: 43px; }
  .home .cj-home-search-panel { padding: 28px 20px !important; }
  .home .cj-home-search-panel .wp-block-search__inside-wrapper { flex-wrap: wrap; }
  .home .cj-home-search-panel .wp-block-search__button { margin: 8px 0 0; }
  .home .cj-home-latest .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 479px) {
  .home .cj-topic-grid > .wp-block-column { flex-basis: 100% !important; }
  .home .cj-topic-card { min-height: 128px; }
  .home .cj-home-latest .wp-block-post-template { grid-template-columns: 1fr !important; }
}
/* ChickenJournal refinements: fully round six-hour hero image, title beneath. */
.home .cj-home-hero figure.wp-block-image {
  width: min(100%, 460px);
  max-width: 460px;
  aspect-ratio: 1 / 1 !important;
  height: auto;
  margin: 0 auto !important;
  overflow: hidden;
  border-radius: 50% !important;
}
.home .cj-home-hero figure.wp-block-image > a {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}
.home .cj-home-hero figure.wp-block-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
}
.home .cj-home-hero .cj-home-spotlight {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  box-sizing: border-box;
  width: min(100%, 460px);
  max-width: 460px;
  margin: 15px auto 0 !important;
  padding: 2px 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}
.home .cj-home-hero .cj-home-spotlight-label { margin: 0 0 5px; }
.home .cj-home-hero .cj-home-spotlight-link {
  font-size: clamp(16px,1.55vw,21px) !important;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.home .cj-home-hero .cj-home-spotlight-link a { text-decoration: none; }
/* Compact icon labels provide the category tiles with clear hierarchy. */
.home .cj-topic-card { justify-content: flex-start; gap: 0; min-height: 174px; }
.home .cj-topic-card::before { display: none; content: none; }
.home .cj-topic-card .cj-topic-icon {
  color: var(--cj-forest);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 26px !important;
  line-height: 1.25;
  margin: 0 0 auto !important;
  padding: 0 0 15px;
  text-align: left;
}
.home .cj-topic-card .cj-topic-title { margin-top: 0 !important; }
.home .cj-topic-card .cj-topic-description { margin-bottom: 0 !important; }
/* Category, archive and search Read More buttons must keep visible labels.
   Earlier broad green-link styling could override Astra button contrast. */
body :is(.ast-article-post, .ast-related-post) :is(.read-more, .read-more-container) a.ast-button,
body :is(.archive, .search, .blog) .ast-article-post a.ast-button,
body a.ast-button,
body a.button,
body :is(.archive, .search, .blog) .read-more a:is(.button,.ast-button) {
  background-color: var(--cj-forest) !important;
  border-color: var(--cj-forest) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  opacity: 1;
  visibility: visible;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body :is(.ast-article-post, .ast-related-post) .read-more a.ast-button:hover,
body a.ast-button:hover,
body a.button:hover,
body :is(.archive,.search,.blog) .read-more a:is(.button,.ast-button):hover {
  background-color: var(--cj-forest-hover) !important;
  border-color: var(--cj-forest-hover) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
body a.ast-button :is(span,strong,em),
body a.button :is(span,strong,em) { color: inherit !important; -webkit-text-fill-color: inherit; }
@media (max-width: 767px) {
  .home .cj-home-hero figure.wp-block-image {
    width: min(100%, 350px) !important;
    max-width: 350px;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
  }
  .home .cj-home-hero figure.wp-block-image img {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
  }
  .home .cj-home-hero .cj-home-spotlight {
    width: min(100%, 350px);
    margin: 14px auto 0 !important;
  }
  .home .cj-topic-card { min-height: 134px; }
  .home .cj-topic-card .cj-topic-icon { font-size: 24px !important; padding-bottom: 8px; }
}
/* Unified homepage content grid — all primary sections share one edge.
   Keeps Astra archive/single geometry unchanged, and does not touch ads. */
.home .entry-content {
  --cj-home-section-max: 1280px;
  --cj-home-section-inset: clamp(16px, 2.2vw, 28px);
}
.home .entry-content > :is(
  .cj-home-topics,
  .cj-home-latest,
  .cj-home-guides,
  .cj-home-search-panel
) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: var(--cj-home-section-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--cj-home-section-inset) !important;
  padding-right: var(--cj-home-section-inset) !important;
}
/* Gutenberg alignwide and nested constrained blocks otherwise indent the
   latest-post cards or restrict the topic tile row independently. */
.home .entry-content > .cj-home-topics > :is(
  .wp-block-columns,
  .wp-block-heading,
  .wp-block-paragraph
),
.home .entry-content > .cj-home-latest > :is(
  .wp-block-columns,
  .wp-block-query,
  .wp-block-heading,
  .wp-block-paragraph
),
.home .entry-content > .cj-home-guides > :is(
  .wp-block-columns,
  .wp-block-heading,
  .wp-block-paragraph
),
.home .entry-content > .cj-home-search-panel > :is(
  .wp-block-columns,
  .wp-block-heading,
  .wp-block-paragraph
) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.home .cj-home-latest > .wp-block-query.alignwide,
.home .cj-home-latest .wp-block-query.alignwide {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.home .cj-home-latest .wp-block-post-template,
.home .cj-home-topics .cj-topic-grid {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
  padding-right: 0;
}
.home .cj-home-latest .wp-block-post-template > li { min-width: 0; }
/* Keep hero copy on approximately the same editorial left edge at desktop
   without altering the six-hour circular featured-photo layout. */
@media (min-width: 1100px) {
  .home .entry-content > .cj-home-hero {
    padding-left: clamp(64px, 6vw, 96px) !important;
    padding-right: clamp(64px, 6vw, 96px) !important;
  }
}
@media (max-width: 767px) {
  .home .entry-content {
    --cj-home-section-inset: 16px;
  }
  .home .entry-content > :is(
    .cj-home-topics,
    .cj-home-latest,
    .cj-home-guides,
    .cj-home-search-panel
  ) { max-width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .home .cj-topic-card { transition: none; }
}