/*
 * JENSKI V1007 — signed-home fidelity candidate, 21 November 2026.
 * Deliberately SOURCE/STAGING ONLY until compared to the owner's locked art.
 * Warm distressed wall + torn editorial paper, real WP posts, real links.
 * All artwork here is original abstract SVG/CSS; the protected private art
 * vault, selected lioness, third-party motifs and historic originals remain
 * unmodified and are NOT made public by this stylesheet.
 */

/* Undo the later white Stone & Ink restyle specifically on Home. */
body.jenski-site.home {
  color: #211814;
  background-color: #c87949 !important;
  background-image: url("../img/jenski-v1007-amber-plaster.svg") !important;
  background-size: max(100%, 1250px) auto !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-attachment: scroll !important;
}
body.jenski-site.home .wp-site-blocks {
  background: transparent;
  min-height: 100vh;
}
body.home .jenski-masthead {
  box-sizing: border-box;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: clamp(8px, 1vw, 16px) 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}
body.home .jenski-masthead::before,
body.home .jenski-masthead::after {
  /* The signed wall is subtle scenery, not a giant competing billboard. */
  opacity: .16 !important;
  pointer-events: none;
}
body.home .jenski-masthead__top {
  width: min(94vw, 1420px) !important;
  min-height: 96px !important;
  display: flex !important;
  align-items: center !important;
  flex-flow: row wrap;
  padding: 0 5px !important;
  gap: clamp(8px, 1.8vw, 24px) !important;
  margin: 0 auto !important;
}
body.home .jenski-masthead__top::before,
body.home .jenski-masthead__top::after {
  opacity: .4;
}
body.home .jenski-wordmark {
  display: block !important;
  flex: none;
  width: clamp(205px, 23vw, 285px) !important;
  height: clamp(110px, 12.5vw, 155px) !important;
  margin: -16px 0 -12px 0 !important;
  transform: rotate(-1.5deg);
  filter: saturate(1.1) contrast(1.09);
  background-image: url("../img/jenski-lioness-star-i-owner.webp") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center left !important;
  font-size: 0 !important;
  color: transparent !important;
}
body.home .jenski-masthead__top .jenski-v1007-tagline {
  max-width: 295px;
  margin: 0 !important;
  color: #2c160e !important;
  font: italic 800 clamp(.95rem, 1.4vw, 1.2rem)/1.2 Georgia, serif !important;
  text-shadow: 0 1px rgb(255 218 171 / .6);
}
body.home .jenski-masthead__top .jenski-search {
  margin-left: auto !important;
  width: auto !important;
  padding: 0 !important;
  align-self: center !important;
}
body.home .jenski-search .wp-block-search__inside-wrapper {
  min-height: 42px;
  background: #e7b282 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.home .jenski-search .wp-block-search__button {
  color: #251610 !important;
  background: transparent !important;
  min-width: 44px;
  min-height: 44px;
  border: 0;
}
body.home nav.jenski-category-nav {
  box-sizing: border-box !important;
  width: min(94vw, 1420px) !important;
  margin: -2px auto 12px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  padding: 0 !important;
}
body.home nav.jenski-category-nav > .wp-block-navigation__container {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: clamp(5px, .7vw, 11px) !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
body.home nav.jenski-category-nav > .wp-block-navigation__container > li {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
body.home nav.jenski-category-nav li > a {
  box-sizing: border-box;
  display: flex;
  min-height: 52px !important;
  height: 100%;
  padding: .44rem .2rem !important;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid rgb(73 32 19 / .6) !important;
  border-radius: 1px !important;
  clip-path: polygon(0 10%, 10% 3%, 28% 6%, 52% 1%, 76% 5%, 99% 0, 100% 84%, 96% 96%, 56% 100%, 22% 95%, 0 99%) !important;
  box-shadow: 0 3px 5px rgb(63 27 15 / .32) !important;
  color: #18120f !important;
  font: italic 900 clamp(.76rem, 1.18vw, 1.08rem)/1.12 "Trebuchet MS", "Segoe UI", sans-serif !important;
  text-align: center;
  text-decoration: none !important;
  text-shadow: 0 1px rgb(255 245 222 / .42);
}
body.home nav.jenski-category-nav li > a[href="/"] {
  background: #f77a2d !important;
  color: #281409 !important;
}
body.home nav.jenski-category-nav li > a:hover {
  filter: saturate(1.05) brightness(1.07);
  transform: translateY(-2px);
}
body.home nav.jenski-category-nav li > a:focus-visible {
  outline: 3px solid #161616 !important;
  outline-offset: 3px;
}

/* Original composition: two actual paper panels on the living wall. */
body.home #main-content {
  width: 100% !important;
  margin: 0 auto !important;
  background: transparent !important;
}
body.home #main-content > .jenski-editorial-board {
  box-sizing: border-box;
  display: grid !important;
  width: min(94vw, 1420px) !important;
  max-width: none !important;
  margin: 0 auto clamp(18px, 2vw, 32px) !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  gap: clamp(12px, 1.3vw, 22px) !important;
  align-items: start;
  isolation: auto;
}
body.home .jenski-editorial-board > .jenski-feature,
body.home .jenski-editorial-board > .jenski-home-recent {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  padding: clamp(13px, 1.5vw, 24px) !important;
  margin: 0 !important;
  border: 2px solid #9a5c36 !important;
  border-radius: 2px !important;
  background-color: #fff0d4 !important;
  background-image:
    repeating-linear-gradient(0deg, rgb(116 71 38 / .035) 0 1px, transparent 1px 21px),
    linear-gradient(116deg, rgb(255 250 229 / .92), rgb(247 225 194 / .93)) !important;
  clip-path: polygon(.6% 0, 18% .3%, 36% 0, 63% .4%, 85% 0, 99.3% .3%, 100% 32%, 99.6% 67%, 100% 99.4%, 76% 99.9%, 44% 99.6%, 23% 100%, 0 99.3%, .3% 58%) !important;
  box-shadow: 0 5px 0 rgb(95 41 22 / .32), 0 12px 24px rgb(63 27 16 / .24) !important;
  color: #211814 !important;
}
body.home .jenski-editorial-board > .jenski-feature::before,
body.home .jenski-editorial-board > .jenski-home-recent::before {
  opacity: .28;
}
body.home .jenski-feature-heading,
body.home .jenski-home-recent .jenski-section-heading h2 {
  margin: 0 0 .65rem !important;
  font: 800 clamp(1.35rem, 2.25vw, 2.05rem)/1.1 Georgia, serif !important;
  letter-spacing: -.035em;
  color: #1a1614 !important;
  text-decoration: none !important;
}
body.home .jenski-feature .wp-block-post-title {
  font: 800 clamp(1.4rem, 2.2vw, 2.3rem)/1.1 Georgia, serif !important;
  color: #1d1715 !important;
}
body.home .jenski-feature .wp-block-post-featured-image {
  padding: 0 !important;
  margin: .15rem 0 .6rem !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgb(43 27 18 / .24);
  border: 1px solid #d5ba96;
}
body.home .jenski-feature .wp-block-post-excerpt {
  line-height: 1.38 !important;
  font-size: clamp(.96rem, 1.09vw, 1.08rem) !important;
}
body.home .jenski-home-recent .wp-block-post {
  padding: .35rem 0 !important;
  border-bottom: 1px solid rgb(118 67 38 / .3) !important;
}
body.home .jenski-home-recent .wp-block-post-title {
  font-size: clamp(.98rem, 1.15vw, 1.18rem) !important;
}
body.home .jenski-home-recent .wp-block-post-excerpt {
  line-height: 1.26 !important;
  font-size: .86rem !important;
}

/* Six real query-driven category cards, each in its own weathered paper. */
body.home #main-content .jenski-v1007-category-row {
  gap: clamp(7px, .7vw, 13px) !important;
}
body.home #main-content .jenski-v1007-card {
  padding: .45rem .5rem .62rem !important;
  border: 1px solid #9e5a37 !important;
  border-radius: 2px !important;
  background:
    repeating-linear-gradient(0deg, rgb(110 74 43 / .033) 0 1px, transparent 1px 18px),
    linear-gradient(120deg, #ffefd6, #f5d3a5) !important;
  box-shadow: 0 5px 0 rgb(99 43 21 / .35), 0 7px 12px rgb(81 34 17 / .18) !important;
  clip-path: polygon(0 1.5%, 21% .6%, 45% 1.5%, 73% 0, 100% 1.6%, 99% 98%, 77% 100%, 48% 99%, 17% 100%, 0 98%) !important;
}
body.home .jenski-v1007-card .jenski-v1007-card-heading {
  display: block;
  min-height: 28px;
  margin: -.3rem -.3rem .7rem !important;
  padding: .43rem .2rem !important;
  color: white !important;
  background: var(--jenski-card-accent) !important;
  box-shadow: 0 2px 0 rgb(44 17 12 / .36);
  text-transform: uppercase;
  font: 900 clamp(.76rem, .92vw, .94rem)/1.16 "Trebuchet MS", sans-serif !important;
  letter-spacing: -.01em;
}
body.home .jenski-v1007-card .wp-block-post-title {
  font-size: clamp(.95rem, 1vw, 1.12rem);
}
body.home .jenski-v1007-card .jenski-v1007-card-more {
  border-top: 1px dashed #b08b69;
  margin-top: auto !important;
}
body.home .jenski-v1007-card a:focus-visible {
  outline: 3px solid #181818 !important;
  outline-offset: 3px;
}

@media (min-width: 1051px) {
  body.home #main-content > .jenski-editorial-board {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr) !important;
  }
  body.home #main-content .jenski-v1007-category-row {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1050px) {
  body.home #main-content > .jenski-editorial-board {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.home #main-content .jenski-v1007-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 620px) {
  body.home .jenski-masthead__top {
    flex-direction: column !important;
    min-height: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  body.home .jenski-wordmark {
    width: min(76vw, 290px) !important;
    height: min(43vw, 155px) !important;
    margin: -12px auto -16px !important;
  }
  body.home .jenski-masthead__top .jenski-v1007-tagline {
    font-size: .9rem !important;
    text-align: center;
    margin-bottom: 8px !important;
  }
  body.home .jenski-masthead__top .jenski-search {
    margin: 0 auto 8px !important;
    padding: 0 !important;
  }
  body.home nav.jenski-category-nav {
    margin: 0 auto 10px !important;
  }
  body.home nav.jenski-category-nav > .wp-block-navigation__container {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  body.home nav.jenski-category-nav li:first-child {
    grid-column: 1 / -1;
  }
  body.home nav.jenski-category-nav li > a {
    min-height: 40px !important;
    font-size: clamp(.68rem, 2.55vw, .86rem) !important;
    padding: .35rem .14rem !important;
  }
  body.home #main-content > .jenski-editorial-board {
    width: calc(100% - 14px) !important;
    gap: 10px !important;
  }
  body.home .jenski-editorial-board > .jenski-feature,
  body.home .jenski-editorial-board > .jenski-home-recent {
    padding: 12px !important;
  }
  body.home #main-content .jenski-v1007-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 350px) {
  body.home nav.jenski-category-nav > .wp-block-navigation__container {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.home .jenski-v1007-card .jenski-v1007-card-heading {
    font-size: .71rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home nav.jenski-category-nav li > a { transition: none !important; }
}
@media (forced-colors: active) {
  body.home nav.jenski-category-nav li > a { background: Canvas !important; color: CanvasText !important; }
}

/* Locked warm-paper computed base: the earlier 1 Nov selector uses a higher
 * specificity than the new standalone stylesheet. Its pale #fffaf1 paper
 * otherwise survives on real WordPress even when the amber wall is correct.
 */
body.home #main-content > .jenski-editorial-board > .jenski-feature,
body.home #main-content > .jenski-editorial-board > .jenski-home-recent {
  background-color: #fff0d4 !important;
  background-image:
    repeating-linear-gradient(0deg, rgb(116 71 38 / .035) 0 1px, transparent 1px 21px),
    linear-gradient(116deg, rgb(255 250 229 / .92), rgb(247 225 194 / .93)) !important;
}

/* Signed desktop inset geometry: actual 1645px owner composition uses
 * ~81% content width, not a full-bleed 94% dashboard.
 * Leave enough painted plaster either side for the wall to breathe.
 */
@media (min-width: 1100px) {
  body.home .jenski-masthead__top,
  body.home nav.jenski-category-nav,
  body.home #main-content > .jenski-editorial-board {
    width: min(83vw, 1380px) !important;
  }
  body.home #main-content > .jenski-editorial-board {
    grid-template-columns: minmax(0, 1.73fr) minmax(0, 1fr) !important;
  }
}
@media (min-width: 621px) and (max-width: 1099px) {
  body.home .jenski-masthead__top,
  body.home nav.jenski-category-nav,
  body.home #main-content > .jenski-editorial-board {
    width: min(94vw, 960px) !important;
  }
}


/* Finish the signed real-WordPress layout without synthetic articles.
 * The six original source section SVGs are CATEGORY artwork only, never
 * misrepresented as an article's photograph. Real post images take priority.
 */
body.home .jenski-v1007-card .wp-block-query:not(:has(img))::before {
  content: "";
  display: block;
  box-sizing: border-box;
  height: clamp(58px, 5.2vw, 93px);
  margin: -.05rem 0 .55rem;
  border: 1px solid rgb(92 42 23 / .25);
  background-color: #b98551;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.home .jenski-v1007-rabbit-holes .wp-block-query:not(:has(img))::before {
  background-image: url("../img/sections/section-rabbit-holes.svg");
}
body.home .jenski-v1007-things-i-like .wp-block-query:not(:has(img))::before {
  background-image: url("../img/sections/section-things-i-like.svg");
}
body.home .jenski-v1007-places .wp-block-query:not(:has(img))::before {
  background-image: url("../img/sections/section-places.svg");
}
body.home .jenski-v1007-how-its-done .wp-block-query:not(:has(img))::before {
  background-image: url("../img/sections/section-how-its-done.svg");
}
body.home .jenski-v1007-thoughts .wp-block-query:not(:has(img))::before {
  background-image: url("../img/sections/section-thoughts.svg");
}
body.home .jenski-v1007-random .wp-block-query:not(:has(img))::before {
  background-image: url("../img/sections/section-random.svg");
}

/* V1007 final warm editorial footer: the approved quote is actual
 * WordPress paragraph content, with a readable paper/ink presentation.
 * On non-Home routes the paragraph stays hidden; all footer links remain.
 */
.jenski-footer .jenski-home-footer-slogan {
  display: none;
}
body.home footer.jenski-footer {
  background: #181517 !important;
  margin-top: 0 !important;
  border-top: 0 !important;
}
body.home footer.jenski-footer > .jenski-home-footer-slogan {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px !important;
  padding: .65rem 1rem .85rem;
  text-align: center;
  color: #24160f !important;
  background: linear-gradient(90deg, rgb(237 166 105 / .98), rgb(248 185 128 / .98), rgb(227 144 83 / .98));
  font: italic 800 clamp(1.25rem, 2.8vw, 2.1rem)/1.15 Georgia, serif !important;
  text-shadow: 0 1px rgb(255 238 208 / .5);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 87%, 89% 80%, 83% 90%, 77% 85%, 69% 96%, 59% 89%, 52% 95%, 46% 86%, 38% 94%, 28% 86%, 19% 96%, 12% 89%, 7% 93%, 0 86%);
}
body.home footer.jenski-footer .jenski-footer__inner {
  margin-top: 0 !important;
  border: 0 !important;
}
body.home footer.jenski-footer :is(a,button):focus-visible {
  outline: 3px solid #fff4d5 !important;
  outline-offset: 3px;
}

/* Tighten only the real 390px/320px header rather than weakening the
 * browser's <265px nav-top contract after a measured 266px failure.
 */
@media (max-width: 620px) {
  body.home .jenski-masthead__top .jenski-v1007-tagline {
    margin-bottom: 3px !important;
  }
  body.home .jenski-masthead__top .jenski-search {
    margin-bottom: 1px !important;
  }
  body.home nav.jenski-category-nav {
    margin-top: -3px !important;
  }
}
@media (min-width: 1100px) {
  body.home .jenski-masthead__top .jenski-v1007-tagline {
    max-width: 355px;
    font-size: clamp(.92rem, 1.28vw, 1.07rem) !important;
  }
}
