/* Editorial styles for the homepage and recipe index; theme owns search and navigation. */
body:is(.layout--notebook-home, .layout--recipe-index) {
  --paper: #f6f3eb;
  --ink: #252e28;
  --green: #365342;
  --muted: #667064;
  --rule: #d1d4c8;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
:is(.layout--notebook-home, .layout--recipe-index) .masthead { border-bottom: 1px solid var(--rule); }
:is(.layout--notebook-home, .layout--recipe-index) .masthead__inner-wrap { max-width: 1200px; padding: 18px 40px; }
:is(.layout--notebook-home, .layout--recipe-index) .greedy-nav { background: transparent; min-height: 36px; }
:is(.layout--notebook-home, .layout--recipe-index) .site-logo img { max-height: 36px; border-radius: 50%; }
:is(.layout--notebook-home, .layout--recipe-index) .site-title { font-size: 22px; font-weight: 750; letter-spacing: -.5px; color: var(--ink); }
:is(.layout--notebook-home, .layout--recipe-index) .greedy-nav a { color: var(--ink); }
:is(.layout--notebook-home, .layout--recipe-index) .greedy-nav .visible-links a { font-size: 13px; letter-spacing: .04em; }
:is(.layout--notebook-home, .layout--recipe-index) .search__toggle { color: var(--green); }
:is(.layout--notebook-home, .layout--recipe-index) .navicon,
:is(.layout--notebook-home, .layout--recipe-index) .navicon:before,
:is(.layout--notebook-home, .layout--recipe-index) .navicon:after { background: var(--green); }
:is(.layout--notebook-home, .layout--recipe-index) .greedy-nav .hidden-links { background: var(--paper); }
body:is(.layout--notebook-home, .layout--recipe-index) #main.notebook { max-width: 1200px; margin: 0 auto; padding: 0 40px; outline: none; }
.notebook *, .notebook *::before, .notebook *::after { box-sizing: border-box; }
.notebook h1, .notebook h2, .notebook h3, .notebook p { margin: 0; }
.notebook h1, .notebook h2, .notebook-story h3, .notebook-recipe h3 { font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif; font-weight: 600; }
.notebook a { color: inherit; text-decoration: none; }
.notebook a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
:is(.layout--notebook-home, .layout--recipe-index) a:focus-visible, :is(.layout--notebook-home, .layout--recipe-index) button:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.notebook .notebook-eyebrow { font-size: 10px; letter-spacing: .15em; font-weight: 600; line-height: 1.4; color: var(--green); }
.notebook-intro { padding: 30px 0 36px; }
.notebook-intro__identity { display: flex; align-items: baseline; gap: 24px; margin-bottom: 12px; }
.notebook-intro h1 { font-family: inherit; font-size: 30px; line-height: 1.4; letter-spacing: -.04em; }
.notebook-intro__identity p { font-size: 12px; color: var(--muted); }
.notebook-intro__identity p span { margin: 0 8px; }
.notebook .notebook-intro__bio { max-width: 52em; font-size: 14px; line-height: 1.9; margin-bottom: 24px; }
.notebook-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.notebook-pillars > a { display: flex; flex-direction: column; padding: 14px 0; border-top: 1px solid var(--green); border-bottom: 1px solid var(--rule); }
.notebook-pillars strong { display: flex; align-items: center; justify-content: space-between; font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif; font-size: 25px; font-weight: 600; line-height: 1.5; margin: 8px 0 7px; }
.notebook-pillars strong span { font-family: sans-serif; font-size: 15px; color: var(--green); }
.notebook-pillars__description { font-size: 12px; color: var(--muted); }
.notebook-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.notebook-section-heading h2 { font-size: 27px; line-height: 1.5; margin-top: 9px; letter-spacing: -.02em; }
.notebook .notebook-text-link { display: inline-block; font-size: 11px; white-space: nowrap; color: var(--green); }
.notebook-text-link span { margin-left: 12px; }
.notebook-apps { padding: 28px 28px 30px; background: #e9ede3; border-top: 2px solid var(--green); border-bottom: 1px solid var(--rule); }
.notebook-apps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notebook-app { padding: 0 26px; display: flex; flex-direction: column; }
.notebook-app:first-child { padding-left: 0; }
.notebook-app:last-child { padding-right: 0; }
.notebook-app + .notebook-app { border-left: 1px solid #c8cebf; }
.notebook-app__identity { display: flex; align-items: center; gap: 18px; }
.notebook-app__identity img { flex-shrink: 0; width: 68px; height: 68px; border-radius: 15px; }
.notebook-app h3 { font-size: 26px; line-height: 1.4; margin-top: 6px; letter-spacing: .04em; }
.notebook .notebook-app__description { font-size: 13px; line-height: 1.9; margin: 18px 0; color: #566251; }
.notebook-app .notebook-app__open { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #aab6a3; padding: 7px 0; margin-top: auto; font-size: 12px; font-weight: 600; color: var(--green); }
.notebook-reading { padding: 38px 0; }
.notebook-reading__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.notebook-story { min-width: 0; }
.notebook-topic { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 600; }
.notebook .notebook-story__label { margin-top: 22px; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.notebook-story h3 { margin-top: 10px; font-size: 23px; line-height: 1.65; }
.notebook-story--tech h3 { font-size: 26px; }
.notebook .notebook-story__excerpt { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 15px 0; }
.notebook-meals { border-top: 1px solid var(--green); padding: 32px 0 38px; }
.notebook-meals__grid { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 36px; row-gap: 24px; }
.notebook-recipe { display: grid; grid-template-columns: 42% 1fr; gap: 22px; align-items: start; min-width: 0; }
.notebook-recipe--lead { grid-row: span 2; display: block; }
.notebook-recipe__photo { display: block; }
.notebook-recipe__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.notebook-recipe--lead .notebook-recipe__photo img { aspect-ratio: 16 / 9; }
.notebook-recipe h3 { font-size: 20px; line-height: 1.6; }
.notebook-recipe--lead h3 { font-size: 24px; margin-top: 16px; }
.notebook-recipe p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 8px 0 10px; }
.notebook-bottom { padding: 34px 0 44px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.9fr 1fr; gap: 60px; }
.notebook-latest .notebook-section-heading { margin-bottom: 15px; }
.notebook-post { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.notebook-post__meta { display: flex; gap: 18px; font-size: 10px; color: var(--muted); letter-spacing: .03em; }
.notebook-post__meta span { color: var(--green); }
.notebook-post h3 { font-size: 15px; font-weight: 500; line-height: 1.7; margin-top: 5px; }
.notebook-post h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.notebook-post h3 span { font-size: 13px; color: var(--muted); }
.notebook .pagination { float: none; margin-top: 20px; font-size: 11px; }
.notebook .pagination ul { display: flex; margin: 0; }
.notebook .pagination li a { color: var(--green); border-color: var(--rule); padding: 8px 13px; }
.notebook .pagination li a.current { background: var(--green); color: var(--paper); border-color: var(--green); }
.notebook-memos { padding: 25px 27px; align-self: start; background: #ede9de; border-top: 2px solid #999f8d; }
.notebook-memos h2 { font-size: 25px; margin-top: 9px; }
.notebook .notebook-memos__intro { font-size: 12px; color: var(--muted); margin-top: 12px; }
.notebook-memos ul { list-style: none; padding: 0; margin: 20px 0; }
.notebook-memos li { border-bottom: 1px solid #d1cec1; font-size: 13px; padding: 9px 0; }
.notebook-memos li a { display: flex; justify-content: space-between; gap: 12px; }
.notebook-memos li span { color: var(--muted); }
.notebook-about { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--rule); padding: 30px 0 34px; }
.notebook-about img { border-radius: 50%; width: 64px; height: 64px; flex-shrink: 0; }
.notebook-about h2 { font-family: inherit; font-size: 21px; margin: 5px 0; }
.notebook-about p:not(.notebook-eyebrow) { font-size: 12px; color: var(--muted); }
.notebook-about > .notebook-text-link { margin-left: auto; }
.notebook-archive-intro { padding: 50px 0 25px; }
.notebook-archive-intro h1 { font-size: 38px; margin: 12px 0; }
.notebook-archive-intro p:not(.notebook-eyebrow) { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.notebook-bottom--archive { display: block; max-width: 800px; }
:is(.layout--notebook-home, .layout--recipe-index) .page__footer { background: #ebe9e0; color: var(--muted); border-top: 1px solid var(--rule); margin-top: 0; }
:is(.layout--notebook-home, .layout--recipe-index) .page__footer footer { max-width: 1200px; padding: 24px 40px; font-size: 11px; }
:is(.layout--notebook-home, .layout--recipe-index) .page__footer-follow .social-icons { font-size: 11px; }
:is(.layout--notebook-home, .layout--recipe-index) .search-content { max-width: 1120px; }
:is(.layout--notebook-home, .layout--recipe-index) .search-content .search-input { color: var(--ink); background: transparent; }
:is(.layout--notebook-home, .layout--recipe-index) section[id] { scroll-margin-top: 30px; }
@media (max-width: 850px) {
  .notebook-app { padding: 0 17px; }
  .notebook-app__identity { gap: 12px; }
  .notebook-app__identity img { width: 48px; height: 48px; border-radius: 12px; }
  .notebook-app h3 { font-size: 22px; }
  .notebook-reading__grid { gap: 22px; }
  .notebook-meals__grid { gap: 24px; }
  .notebook-recipe { grid-template-columns: 1fr; gap: 12px; }
  .notebook-recipe--lead { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .notebook-recipe--lead h3 { margin-top: 0; }
  .notebook-bottom { gap: 30px; grid-template-columns: 1.5fr 1fr; }
  .notebook-story h3, .notebook-story--tech h3 { font-size: 21px; }
}
@media (max-width: 600px) {
  :is(.layout--notebook-home, .layout--recipe-index) .masthead__inner-wrap { padding: 14px 20px; }
  :is(.layout--notebook-home, .layout--recipe-index) .site-title { font-size: 20px; }
  :is(.layout--notebook-home, .layout--recipe-index) .site-logo img { max-height: 30px; }
  :is(.layout--notebook-home, .layout--recipe-index) .greedy-nav .visible-links a { font-size: 12px; }
  body:is(.layout--notebook-home, .layout--recipe-index) #main.notebook { padding: 0 22px; }
  .notebook-intro { padding: 24px 0 28px; }
  .notebook-intro__identity { display: block; margin-bottom: 10px; }
  .notebook-intro h1 { font-size: 27px; margin-bottom: 4px; }
  .notebook-intro__identity p { font-size: 11px; }
  .notebook .notebook-intro__bio { font-size: 13px; margin-bottom: 20px; }
  .notebook-pillars { gap: 14px; }
  .notebook-pillars > a { padding: 12px 0; }
  .notebook-pillars strong { font-size: 19px; gap: 4px; margin: 7px 0; white-space: nowrap; }
  .notebook-pillars strong span { font-size: 11px; }
  .notebook-pillars__description { font-size: 10px; line-height: 1.8; }
  .notebook-section-heading { gap: 12px; align-items: start; margin-bottom: 22px; }
  .notebook-section-heading h2 { font-size: 22px; line-height: 1.6; }
  .notebook-section-heading > .notebook-text-link { font-size: 10px; margin-top: 1px; }
  .notebook-apps { margin: 0 -22px; padding: 24px 22px 20px; }
  .notebook-apps > .notebook-section-heading { display: block; margin-bottom: 5px; }
  .notebook-apps > .notebook-section-heading > .notebook-text-link { margin-top: 8px; }
  .notebook-apps__grid { display: block; }
  .notebook-app, .notebook-app:first-child, .notebook-app:last-child { padding: 23px 0; }
  .notebook-app + .notebook-app { border-left: 0; border-top: 1px solid #c8cebf; }
  .notebook-app__identity { gap: 16px; }
  .notebook-app__identity img { width: 58px; height: 58px; border-radius: 14px; }
  .notebook-app h3 { font-size: 25px; margin-top: 4px; }
  .notebook .notebook-app__description { margin: 12px 0 10px; font-size: 12px; }
  .notebook-app .notebook-app__open { border: 0; padding: 5px 0 0; }
  .notebook-reading { padding: 35px 0 32px; }
  .notebook-reading__grid { display: block; }
  .notebook-story + .notebook-story { margin-top: 28px; }
  .notebook-story h3, .notebook-story--tech h3 { font-size: 23px; }
  .notebook .notebook-story__label { margin-top: 18px; }
  .notebook-meals { padding: 28px 0 32px; }
  .notebook-meals__grid { display: block; }
  .notebook-recipe, .notebook-recipe--lead { display: block; }
  .notebook-recipe + .notebook-recipe { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--rule); }
  .notebook-recipe__photo img, .notebook-recipe--lead .notebook-recipe__photo img { aspect-ratio: 3 / 2; }
  .notebook-recipe h3, .notebook-recipe--lead h3 { font-size: 22px; margin-top: 13px; }
  .notebook-bottom { display: block; padding: 30px 0; }
  .notebook-post { padding: 15px 0; }
  .notebook-post h3 { font-size: 14px; }
  .notebook .pagination li a { padding: 10px 8px; }
  .notebook-memos { margin-top: 32px; padding: 24px; }
  .notebook-about { gap: 17px; flex-wrap: wrap; padding: 25px 0; }
  .notebook-about img { width: 52px; height: 52px; }
  .notebook-about > div { flex: 1 1 calc(100% - 69px); }
  .notebook-about > .notebook-text-link { flex-basis: calc(100% - 69px); margin: -3px 0 0 69px; }
  .notebook-about h2 { font-size: 20px; }
  .notebook-about p:not(.notebook-eyebrow) { font-size: 11px; }
  :is(.layout--notebook-home, .layout--recipe-index) .page__footer footer { padding: 22px; }
}
@media (max-width: 360px) {
  .notebook-pillars strong { font-size: 16px; }
}
