/* GeneratePress Japanese Edition — understated editorial polish */
:root {
  --jp-ink: #182536;
  --jp-muted: #677384;
  --jp-paper: #f4f6f8;
  --jp-card: #ffffff;
  --jp-line: #e5e9ef;
  --jp-accent: #b63745;
  --jp-accent-dark: #922a36;
  --jp-shadow: 0 12px 34px rgba(24, 37, 54, .07);
}

html { scroll-behavior: smooth; }
body {
  color: var(--jp-ink);
  background: var(--jp-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: #fff; background: var(--jp-accent); }
a { color: var(--jp-accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover, a:focus { color: var(--jp-accent-dark); }

.site-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--jp-line);
}
.inside-header { max-width: 1240px; padding-top: 25px; padding-bottom: 25px; }
.site-title { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 800; letter-spacing: .025em; line-height: 1.4; }
.site-title a { color: var(--jp-ink); text-decoration: none; }
.site-title a:hover { color: var(--jp-accent); }
.site-description { margin-top: 5px; color: var(--jp-muted); font-size: .88rem; letter-spacing: .04em; }

.main-navigation {
  background: #fff;
  border-bottom: 1px solid var(--jp-line);
  box-shadow: 0 4px 14px rgba(24,37,54,.025);
}
.inside-navigation { max-width: 1240px; }
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle {
  color: var(--jp-ink);
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: .02em;
  transition: color .18s ease, background-color .18s ease;
}
.main-navigation .main-nav ul li a { padding-left: 18px; padding-right: 18px; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a { color: var(--jp-accent); background: #fbf5f5; }
.main-navigation .main-nav ul ul { background: #fff; border: 1px solid var(--jp-line); box-shadow: var(--jp-shadow); border-radius: 0 0 12px 12px; overflow: hidden; }
.main-navigation .main-nav ul ul li a { padding: 10px 17px; }

.site-content { padding-top: 38px; padding-bottom: 66px; }
.grid-container { max-width: 1240px; }
body { overflow-wrap: anywhere; }
.entry-title, .page-title, .widget-title { color: var(--jp-ink); line-height: 1.55; letter-spacing: .005em; }
.page-header, .archive-description { background: #fff; border: 1px solid var(--jp-line); border-radius: 16px; padding: 24px 28px; box-shadow: 0 6px 20px rgba(24,37,54,.035); }
.page-title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }

/* A clean responsive grid for home, archives, and search results. */
body.blog .site-main,
body.archive .site-main,
body.search .site-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 27px;
}
body.blog .site-main > article,
body.archive .site-main > article,
body.search .site-main > article {
  min-width: 0;
  height: 100%;
  margin: 0 !important;
}
body.blog .site-main > .page-header,
body.archive .site-main > .page-header,
body.search .site-main > .page-header,
body.blog .site-main > .archive-description,
body.archive .site-main > .archive-description,
body.search .site-main > .archive-description,
body.blog .site-main > nav,
body.archive .site-main > nav,
body.search .site-main > nav,
body.blog .site-main > .paging-navigation,
body.archive .site-main > .paging-navigation,
body.search .site-main > .paging-navigation,
body.blog .site-main > .no-results,
body.archive .site-main > .no-results,
body.search .site-main > .no-results {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}
body.blog .site-main > article .inside-article,
body.archive .site-main > article .inside-article,
body.search .site-main > article .inside-article {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 28px;
  overflow: hidden;
  background: var(--jp-card);
  border: 1px solid rgba(220,226,234,.9);
  border-radius: 18px;
  box-shadow: var(--jp-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.blog .site-main > article:hover .inside-article,
body.archive .site-main > article:hover .inside-article,
body.search .site-main > article:hover .inside-article {
  transform: translateY(-3px);
  border-color: #d7b5ba;
  box-shadow: 0 18px 42px rgba(24,37,54,.105);
}
body.blog .site-main > article .post-image,
body.archive .site-main > article .post-image,
body.search .site-main > article .post-image {
  order: 1;
  margin: -28px -28px 23px !important;
  overflow: hidden;
  background: #e9edf2;
}
body.blog .site-main > article .post-image a,
body.archive .site-main > article .post-image a,
body.search .site-main > article .post-image a { display: block; }
body.blog .site-main > article .post-image img,
body.archive .site-main > article .post-image img,
body.search .site-main > article .post-image img {
  display: block;
  width: 100%;
  height: 225px;
  object-fit: cover;
  transition: transform .35s ease;
}
body.blog .site-main > article:hover .post-image img,
body.archive .site-main > article:hover .post-image img,
body.search .site-main > article:hover .post-image img { transform: scale(1.035); }
body.blog .site-main > article .entry-header,
body.archive .site-main > article .entry-header,
body.search .site-main > article .entry-header { order: 2; margin-bottom: 6px; }
.entry-title { margin-bottom: 8px; font-size: clamp(1.13rem, 1.5vw, 1.38rem); font-weight: 800; }
.entry-title a { color: var(--jp-ink); text-decoration: none; }
.entry-title a:hover { color: var(--jp-accent); }
.entry-title::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 13px; border-radius: 99px; background: var(--jp-accent); opacity: .86; }
.entry-meta { color: var(--jp-muted); font-size: .82rem; letter-spacing: .025em; }
.entry-meta a { color: var(--jp-muted); text-decoration: none; }
.entry-meta a:hover { color: var(--jp-accent); }
body.blog .site-main > article .entry-summary,
body.archive .site-main > article .entry-summary,
body.search .site-main > article .entry-summary { order: 3; margin-top: 10px; color: #4d5868; font-size: .96rem; line-height: 1.9; }
.entry-summary p { margin-bottom: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
body.blog .site-main > article footer.entry-meta,
body.archive .site-main > article footer.entry-meta,
body.search .site-main > article footer.entry-meta { order: 4; margin-top: 16px; }
.jp-read-more-wrap { order: 5; margin: auto 0 0; padding-top: 22px; }
.jp-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 42px;
  padding: 8px 16px 8px 18px;
  border: 1px solid var(--jp-ink);
  border-radius: 999px;
  background: var(--jp-ink);
  color: #fff;
  font-size: .87rem;
  font-weight: 750;
  letter-spacing: .035em;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.jp-read-more:hover, .jp-read-more:focus { color: #fff; background: var(--jp-accent); border-color: var(--jp-accent); transform: translateX(2px); }
.jp-read-more-arrow { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.15); font-size: 1rem; line-height: 1; }

/* Single articles and pages retain generous, readable Japanese typography. */
body.single .inside-article,
body.page .inside-article,
body.search .no-results .inside-article {
  padding: clamp(24px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--jp-line);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(24,37,54,.045);
}
body.single .entry-title, body.page .entry-title { font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.55; }
.entry-content { color: #293647; line-height: 2; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; margin-bottom: .65em; color: var(--jp-ink); line-height: 1.55; }
.entry-content h2 { padding-left: 15px; border-left: 4px solid var(--jp-accent); }
.entry-content blockquote { margin: 1.6em 0; padding: 1.1em 1.4em; color: #4d5868; background: #f8f7f6; border-left: 3px solid #c9a4a8; border-radius: 0 12px 12px 0; }
.entry-content img { border-radius: 12px; }
.entry-content pre, .entry-content code { overflow-wrap: anywhere; }

.widget-area .widget { margin-bottom: 26px; padding: 24px; border: 1px solid var(--jp-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(24,37,54,.04); }
.widget-title { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--jp-line); font-size: 1.05rem; font-weight: 800; }
.widget-area ul { margin-left: 0; list-style: none; }
.widget-area li { padding: 8px 0; border-bottom: 1px dashed var(--jp-line); }
.widget-area li:last-child { border-bottom: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
  max-width: 100%; padding: 11px 13px; border: 1px solid #d7dde5; border-radius: 9px; background: #fff; color: var(--jp-ink); box-shadow: none;
}
input:focus, textarea:focus, select:focus { border-color: #c77d85; outline: 3px solid rgba(182,55,69,.12); }
button, input[type="button"], input[type="reset"], input[type="submit"], .button {
  border-radius: 9px; font-weight: 700; transition: background .18s ease, transform .18s ease;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover { transform: translateY(-1px); }

.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 5px 12px; border: 1px solid var(--jp-line); border-radius: 10px; background: #fff; color: var(--jp-ink); text-decoration: none; }
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover { color: #fff; border-color: var(--jp-accent); background: var(--jp-accent); }
.site-footer { margin: 0; padding: 0; background: transparent; }

/* Footer layout: a centered horizontal menu above the copyright. */
.site-footer .inside-site-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}
.site-footer .footer-navigation {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
}
.site-footer .footer-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-menu > li {
  display: block;
  flex: 0 0 auto;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-menu > li > a {
  display: inline-block;
  padding: 4px 2px;
  color: var(--jp-muted);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.site-footer .footer-menu > li > a:hover,
.site-footer .footer-menu > li > a:focus-visible {
  color: var(--jp-accent);
  transform: translateY(-1px);
}
.site-footer .footer-menu .sub-menu { display: none; }
.site-footer .copyright-bar {
  display: block;
  flex: 0 0 auto;
  clear: both;
  float: none !important;
  width: 100%;
  margin: 0;
  color: var(--jp-muted);
  font-size: .84rem;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 600px) {
  .site-footer .inside-site-info { padding: 22px 18px; }
  .site-footer .footer-menu { gap: 6px 17px; }
}


@media (min-width: 1440px) {
  body.blog .site-main, body.archive .site-main, body.search .site-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .inside-header { padding: 22px 24px; }
  .site-content { padding: 25px 18px 44px; }
  body.blog .site-main, body.archive .site-main, body.search .site-main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.blog .site-main > article .inside-article, body.archive .site-main > article .inside-article, body.search .site-main > article .inside-article { padding: 23px; border-radius: 15px; }
  body.blog .site-main > article .post-image, body.archive .site-main > article .post-image, body.search .site-main > article .post-image { margin: -23px -23px 20px !important; }
  body.blog .site-main > article .post-image img, body.archive .site-main > article .post-image img, body.search .site-main > article .post-image img { height: 215px; }
  body.single .inside-article, body.page .inside-article { padding: 24px; border-radius: 14px; }
  .page-header, .archive-description { padding: 20px; }
}
@media (max-width: 420px) {
  body { font-size: 15px; }
  .site-content { padding-right: 13px; padding-left: 13px; }
  body.blog .site-main > article .post-image img, body.archive .site-main > article .post-image img, body.search .site-main > article .post-image img { height: 185px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Japanese Edition — minimalist horizontal editorial feed */
body.blog .site-main,
body.archive .site-main,
body.search .site-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

body.blog .site-main > article,
body.archive .site-main > article,
body.search .site-main > article {
  min-width: 0;
  height: auto;
  margin: 0 !important;
}

body.blog .site-main > article .inside-article,
body.archive .site-main > article .inside-article,
body.search .site-main > article .inside-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  box-sizing: border-box;
  height: auto;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background: var(--jp-card);
  border: 1px solid var(--jp-line);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(24, 37, 54, .045);
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.blog .site-main > article:hover .inside-article,
body.archive .site-main > article:hover .inside-article,
body.search .site-main > article:hover .inside-article {
  transform: none;
  border-color: #d4dbe4;
  box-shadow: 0 10px 28px rgba(24, 37, 54, .075);
}

/* Posts with a featured image use a true left-image / right-copy layout. */
body.blog .site-main > article:has(.post-image) .inside-article,
body.archive .site-main > article:has(.post-image) .inside-article,
body.search .site-main > article:has(.post-image) .inside-article {
  grid-template-columns: minmax(165px, 30%) minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "thumbnail heading"
    "thumbnail summary"
    "thumbnail more"
    "thumbnail metadata";
  column-gap: 28px;
  row-gap: 2px;
  align-items: start;
  min-height: 220px;
  padding: 22px;
}

body.blog .site-main > article:has(.post-image) .post-image,
body.archive .site-main > article:has(.post-image) .post-image,
body.search .site-main > article:has(.post-image) .post-image {
  grid-area: thumbnail;
  align-self: stretch;
  min-width: 0;
  min-height: 175px;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 10px;
  background: #edf0f4;
}

body.blog .site-main > article:has(.post-image) .post-image a,
body.archive .site-main > article:has(.post-image) .post-image a,
body.search .site-main > article:has(.post-image) .post-image a {
  display: block;
  width: 100%;
  height: 100%;
}

body.blog .site-main > article:has(.post-image) .post-image img,
body.archive .site-main > article:has(.post-image) .post-image img,
body.search .site-main > article:has(.post-image) .post-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 175px;
  max-height: 270px;
  object-fit: cover;
  transition: transform .3s ease;
}

body.blog .site-main > article:has(.post-image):hover .post-image img,
body.archive .site-main > article:has(.post-image):hover .post-image img,
body.search .site-main > article:has(.post-image):hover .post-image img {
  transform: scale(1.025);
}

body.blog .site-main > article:has(.post-image) .entry-header,
body.archive .site-main > article:has(.post-image) .entry-header,
body.search .site-main > article:has(.post-image) .entry-header {
  grid-area: heading;
  min-width: 0;
  margin: 0 0 4px;
}

body.blog .site-main > article:has(.post-image) .entry-summary,
body.archive .site-main > article:has(.post-image) .entry-summary,
body.search .site-main > article:has(.post-image) .entry-summary {
  grid-area: summary;
  min-width: 0;
  margin: 4px 0 0;
  color: #596575;
  font-size: .94rem;
  line-height: 1.85;
}

body.blog .site-main > article:has(.post-image) .entry-summary p,
body.archive .site-main > article:has(.post-image) .entry-summary p,
body.search .site-main > article:has(.post-image) .entry-summary p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
}

body.blog .site-main > article:has(.post-image) .jp-read-more-wrap,
body.archive .site-main > article:has(.post-image) .jp-read-more-wrap,
body.search .site-main > article:has(.post-image) .jp-read-more-wrap {
  grid-area: more;
  align-self: end;
  margin: 8px 0 0;
  padding: 0;
}

body.blog .site-main > article:has(.post-image) footer.entry-meta,
body.archive .site-main > article:has(.post-image) footer.entry-meta,
body.search .site-main > article:has(.post-image) footer.entry-meta {
  grid-area: metadata;
  margin: 9px 0 0;
  padding-top: 7px;
  border-top: 1px solid #eef0f3;
  font-size: .78rem;
}

body.blog .site-main > article .entry-title,
body.archive .site-main > article .entry-title,
body.search .site-main > article .entry-title {
  margin: 0 0 7px;
  font-size: clamp(1.08rem, 1.55vw, 1.36rem);
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: 0;
}

body.blog .site-main > article .entry-title::after,
body.archive .site-main > article .entry-title::after,
body.search .site-main > article .entry-title::after {
  display: none;
}

body.blog .site-main > article .jp-read-more,
body.archive .site-main > article .jp-read-more,
body.search .site-main > article .jp-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--jp-accent);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: none;
}

body.blog .site-main > article .jp-read-more:hover,
body.blog .site-main > article .jp-read-more:focus,
body.archive .site-main > article .jp-read-more:hover,
body.archive .site-main > article .jp-read-more:focus,
body.search .site-main > article .jp-read-more:hover,
body.search .site-main > article .jp-read-more:focus {
  color: var(--jp-accent-dark);
  background: transparent;
  border-color: transparent;
  transform: translateX(2px);
}

body.blog .site-main > article .jp-read-more-arrow,
body.archive .site-main > article .jp-read-more-arrow,
body.search .site-main > article .jp-read-more-arrow {
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
  font-size: 1rem;
}

@media (max-width: 900px) {
  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article {
    grid-template-columns: minmax(155px, 32%) minmax(0, 1fr);
    column-gap: 21px;
    min-height: 205px;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  body.blog .site-main,
  body.archive .site-main,
  body.search .site-main { gap: 13px; }

  body.blog .site-main > article .inside-article,
  body.archive .site-main > article .inside-article,
  body.search .site-main > article .inside-article { padding: 16px; border-radius: 13px; }

  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article {
    grid-template-columns: minmax(92px, 29%) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 14px;
    row-gap: 1px;
    min-height: 0;
    padding: 13px;
  }

  body.blog .site-main > article:has(.post-image) .post-image,
  body.archive .site-main > article:has(.post-image) .post-image,
  body.search .site-main > article:has(.post-image) .post-image { min-height: 118px; border-radius: 8px; }

  body.blog .site-main > article:has(.post-image) .post-image img,
  body.archive .site-main > article:has(.post-image) .post-image img,
  body.search .site-main > article:has(.post-image) .post-image img { min-height: 118px; max-height: none; }

  body.blog .site-main > article .entry-title,
  body.archive .site-main > article .entry-title,
  body.search .site-main > article .entry-title { font-size: 1rem; line-height: 1.5; margin-bottom: 4px; }

  body.blog .site-main > article .entry-meta,
  body.archive .site-main > article .entry-meta,
  body.search .site-main > article .entry-meta { font-size: .72rem; }

  body.blog .site-main > article:has(.post-image) .entry-summary,
  body.archive .site-main > article:has(.post-image) .entry-summary,
  body.search .site-main > article:has(.post-image) .entry-summary { font-size: .82rem; line-height: 1.65; margin-top: 3px; }

  body.blog .site-main > article:has(.post-image) .entry-summary p,
  body.archive .site-main > article:has(.post-image) .entry-summary p,
  body.search .site-main > article:has(.post-image) .entry-summary p { -webkit-line-clamp: 2; }

  body.blog .site-main > article .jp-read-more,
  body.archive .site-main > article .jp-read-more,
  body.search .site-main > article .jp-read-more { gap: 5px; font-size: .78rem; }

  body.blog .site-main > article:has(.post-image) footer.entry-meta,
  body.archive .site-main > article:has(.post-image) footer.entry-meta,
  body.search .site-main > article:has(.post-image) footer.entry-meta { display: none; }
}

@media (max-width: 360px) {
  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article { grid-template-columns: 82px minmax(0, 1fr); column-gap: 11px; padding: 10px; }
  body.blog .site-main > article:has(.post-image) .post-image,
  body.archive .site-main > article:has(.post-image) .post-image,
  body.search .site-main > article:has(.post-image) .post-image,
  body.blog .site-main > article:has(.post-image) .post-image img,
  body.archive .site-main > article:has(.post-image) .post-image img,
  body.search .site-main > article:has(.post-image) .post-image img { min-height: 104px; }
}

/* Japanese metadata: tidy date and author label. */
.single .entry-meta,
.blog .entry-meta,
.archive .entry-meta,
.search .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}
.single .entry-meta .posted-on,
.single .entry-meta .byline,
.blog .entry-meta .posted-on,
.blog .entry-meta .byline,
.archive .entry-meta .posted-on,
.archive .entry-meta .byline,
.search .entry-meta .posted-on,
.search .entry-meta .byline {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

/* Sidebar widgets: clearer editorial hierarchy and a softer, premium card. */
.sidebar .widget,
.widget-area .widget {
  border-color: #e4e9ef;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(26, 42, 58, 0.055);
}
.sidebar .widget .widget-title,
.widget-area .widget .widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0 0 13px;
  color: var(--jp-ink);
  border-bottom: 1px solid #edf0f4;
  font-size: clamp(1.06rem, 1.35vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .015em;
}
.sidebar .widget .widget-title::before,
.widget-area .widget .widget-title::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c44a57, #8f2938);
  box-shadow: 0 3px 8px rgba(182, 55, 69, .16);
}

/* Recent Posts classic widget: photo cards with Japanese dates. */
.jp-recent-posts-list {
  display: grid;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.jp-recent-posts-list > .jp-recent-post-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #f9fafb 100%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.jp-recent-posts-list > .jp-recent-post-item:hover {
  transform: translateY(-2px);
  border-color: #e2c1c5;
  box-shadow: 0 8px 18px rgba(26, 42, 58, .07);
}
.jp-recent-post-thumb {
  display: grid;
  width: 88px;
  height: 76px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #315b4e, #94ad91);
  border-radius: 10px;
  text-decoration: none !important;
}
.jp-recent-post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.jp-recent-post-item:hover .jp-recent-post-thumb img { transform: scale(1.06); }
.jp-recent-post-thumb.is-placeholder span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  font-size: 1.05rem;
}
.jp-recent-post-body { display: grid; align-self: center; align-content: center; min-width: 0; gap: 5px; }
.jp-recent-post-title {
  display: -webkit-box;
  overflow: hidden;
  color: #202d3c;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.58;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.jp-recent-post-title:hover { color: var(--jp-accent); }
.jp-recent-post-date { color: #788391; font-size: .7rem; letter-spacing: .01em; line-height: 1.5; }

/* Gutenberg Latest Posts block: use the same image-card treatment. */
.sidebar .wp-block-latest-posts__list,
.widget-area .wp-block-latest-posts__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar .wp-block-latest-posts__list > li,
.widget-area .wp-block-latest-posts__list > li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  column-gap: 12px;
  row-gap: 4px;
  min-height: 100px;
  margin: 0;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #f9fafb 100%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sidebar .wp-block-latest-posts__list > li:hover,
.widget-area .wp-block-latest-posts__list > li:hover {
  transform: translateY(-2px);
  border-color: #e2c1c5;
  box-shadow: 0 8px 18px rgba(26, 42, 58, .07);
}
.sidebar .wp-block-latest-posts__post-featured-image,
.widget-area .wp-block-latest-posts__post-featured-image,
.sidebar .wp-block-latest-posts__featured-image,
.widget-area .wp-block-latest-posts__featured-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 88px;
  height: 76px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 10px;
}
.sidebar .wp-block-latest-posts__post-featured-image a,
.widget-area .wp-block-latest-posts__post-featured-image a,
.sidebar .wp-block-latest-posts__featured-image a,
.widget-area .wp-block-latest-posts__featured-image a { display: block; width: 100%; height: 100%; }
.sidebar .wp-block-latest-posts__post-featured-image img,
.widget-area .wp-block-latest-posts__post-featured-image img,
.sidebar .wp-block-latest-posts__featured-image img,
.widget-area .wp-block-latest-posts__featured-image img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
  transition: transform .3s ease;
}
.sidebar .wp-block-latest-posts__list > li:hover img,
.widget-area .wp-block-latest-posts__list > li:hover img { transform: scale(1.05); }
.sidebar .wp-block-latest-posts__post-title,
.widget-area .wp-block-latest-posts__post-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #202d3c;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.58;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.sidebar .wp-block-latest-posts__post-title:hover,
.widget-area .wp-block-latest-posts__post-title:hover { color: var(--jp-accent); }
/* Without dates, center the complete title block against the thumbnail instead of
   leaving it pinned to the top of an otherwise empty two-row grid. */
.sidebar .wp-block-latest-posts__list > li:not(:has(.wp-block-latest-posts__post-date)) > .wp-block-latest-posts__post-title,
.widget-area .wp-block-latest-posts__list > li:not(:has(.wp-block-latest-posts__post-date)) > .wp-block-latest-posts__post-title {
  grid-row: 1 / span 2;
  align-self: center;
}
.sidebar .wp-block-latest-posts__post-date,
.widget-area .wp-block-latest-posts__post-date {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: #788391;
  font-size: .7rem;
  line-height: 1.45;
}
.sidebar .wp-block-latest-posts__post-excerpt,
.widget-area .wp-block-latest-posts__post-excerpt {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: #687585;
  font-size: .8rem;
  line-height: 1.65;
}

/* Category chips: organized, scannable, and touch-friendly. */
.sidebar .widget_categories > ul,
.widget-area .widget_categories > ul,
.sidebar .wp-block-categories-list,
.widget-area .wp-block-categories-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar .widget_categories > ul > li,
.widget-area .widget_categories > ul > li,
.sidebar .wp-block-categories-list > li,
.widget-area .wp-block-categories-list > li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e6ebf0;
  border-radius: 999px;
  background: #f7f9fb;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.sidebar .widget_categories > ul > li:hover,
.widget-area .widget_categories > ul > li:hover,
.sidebar .wp-block-categories-list > li:hover,
.widget-area .wp-block-categories-list > li:hover {
  transform: translateY(-1px);
  border-color: #e4c1c5;
  background: #fff7f7;
}
.sidebar .widget_categories li > a,
.widget-area .widget_categories li > a,
.sidebar .wp-block-categories-list li > a,
.widget-area .wp-block-categories-list li > a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 7px 11px;
  color: #394657;
  font-size: .81rem;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sidebar .widget_categories li > a:hover,
.widget-area .widget_categories li > a:hover,
.sidebar .wp-block-categories-list li > a:hover,
.widget-area .wp-block-categories-list li > a:hover { color: var(--jp-accent); }
.sidebar .widget_categories .count,
.widget-area .widget_categories .count,
.sidebar .wp-block-categories-list .count,
.widget-area .wp-block-categories-list .count {
  margin-right: 9px;
  color: #7d8895;
  font-size: .7rem;
  font-weight: 750;
}
.sidebar .widget_categories ul.children,
.widget-area .widget_categories ul.children,
.sidebar .wp-block-categories-list ul.children,
.widget-area .wp-block-categories-list ul.children {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 5px 0 0 10px;
  padding: 0;
}

/* Tags become calm, premium chips instead of uneven default links. */
.sidebar .tagcloud,
.widget-area .tagcloud,
.sidebar .wp-block-tag-cloud,
.widget-area .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sidebar .tagcloud a,
.widget-area .tagcloud a,
.sidebar .wp-block-tag-cloud a,
.widget-area .wp-block-tag-cloud a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 !important;
  padding: 6px 11px;
  color: #455364;
  background: #f7f9fb;
  border: 1px solid #e5eaf0;
  border-radius: 999px;
  font-size: .78rem !important;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.sidebar .tagcloud a:hover,
.widget-area .tagcloud a:hover,
.sidebar .wp-block-tag-cloud a:hover,
.widget-area .wp-block-tag-cloud a:hover {
  color: var(--jp-accent-dark);
  background: #fff4f5;
  border-color: #dfb8be;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .jp-recent-posts-list > .jp-recent-post-item,
  .sidebar .wp-block-latest-posts__list > li,
  .widget-area .wp-block-latest-posts__list > li {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    min-height: 92px;
    padding: 10px;
  }
  .jp-recent-post-thumb,
  .sidebar .wp-block-latest-posts__post-featured-image,
  .widget-area .wp-block-latest-posts__post-featured-image,
  .sidebar .wp-block-latest-posts__featured-image,
  .widget-area .wp-block-latest-posts__featured-image { width: 78px; height: 70px; }
  .sidebar .wp-block-latest-posts__post-featured-image img,
  .widget-area .wp-block-latest-posts__post-featured-image img,
  .sidebar .wp-block-latest-posts__featured-image img,
  .widget-area .wp-block-latest-posts__featured-image img { height: 70px; }
  .jp-recent-post-title,
  .sidebar .wp-block-latest-posts__post-title,
  .widget-area .wp-block-latest-posts__post-title { font-size: .82rem; }
}


/* Mobile stability patch based on jp8; refined compact archive cards in jp9.
   Keep GeneratePress' native header layout; avoid flex overrides that can pull
   the site branding and hamburger toggle into the same left-side cluster. */
@media (max-width: 768px) {
  /* Icon-only mobile menu without changing the theme's native positioning. */
  .main-navigation .menu-toggle .mobile-menu {
    display: none !important;
  }

  /* The sidebar may contain classic widget titles or Gutenberg Heading blocks. */
  .sidebar .widget-title,
  .widget-area .widget-title,
  .sidebar .widget .wp-block-heading,
  .widget-area .widget .wp-block-heading,
  .sidebar .widget > h1,
  .sidebar .widget > h2,
  .sidebar .widget > h3,
  .widget-area .widget > h1,
  .widget-area .widget > h2,
  .widget-area .widget > h3 {
    font-size: clamp(16px, 4.6vw, 19px) !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    overflow-wrap: break-word;
  }

  .sidebar .widget,
  .widget-area .widget {
    margin-bottom: 14px !important;
    padding: 14px !important;
    border-radius: 15px;
  }

  .sidebar .widget,
  .sidebar .widget p,
  .sidebar .widget li,
  .sidebar .widget label,
  .widget-area .widget,
  .widget-area .widget p,
  .widget-area .widget li,
  .widget-area .widget label {
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* Compact, aligned recent-post cards on narrow screens. */
  .jp-recent-posts-list > .jp-recent-post-item,
  .sidebar .wp-block-latest-posts__list > li,
  .widget-area .wp-block-latest-posts__list > li {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 4px !important;
    min-height: 0 !important;
    padding: 9px !important;
  }

  .jp-recent-post-thumb,
  .sidebar .wp-block-latest-posts__post-featured-image,
  .widget-area .wp-block-latest-posts__post-featured-image,
  .sidebar .wp-block-latest-posts__featured-image,
  .widget-area .wp-block-latest-posts__featured-image {
    width: 70px !important;
    height: 66px !important;
  }

  .sidebar .wp-block-latest-posts__post-featured-image img,
  .widget-area .wp-block-latest-posts__post-featured-image img,
  .sidebar .wp-block-latest-posts__featured-image img,
  .widget-area .wp-block-latest-posts__featured-image img {
    width: 100% !important;
    height: 66px !important;
    object-fit: cover;
  }

  .jp-recent-post-title,
  .sidebar .wp-block-latest-posts__post-title,
  .widget-area .wp-block-latest-posts__post-title {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
  }

  .jp-recent-post-date,
  .sidebar .wp-block-latest-posts__post-date,
  .widget-area .wp-block-latest-posts__post-date {
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  /* Make archived article cards align the thumbnail with the title, not mid-card. */
  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      "thumbnail heading"
      "thumbnail summary"
      "thumbnail more" !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    align-items: start !important;
    min-height: 0 !important;
    padding: 12px !important;
  }

  body.blog .site-main > article:has(.post-image) .post-image,
  body.archive .site-main > article:has(.post-image) .post-image,
  body.search .site-main > article:has(.post-image) .post-image {
    grid-area: thumbnail !important;
    align-self: start !important;
    width: 88px !important;
    height: 124px !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 9px;
  }

  body.blog .site-main > article:has(.post-image) .post-image a,
  body.archive .site-main > article:has(.post-image) .post-image a,
  body.search .site-main > article:has(.post-image) .post-image a,
  body.blog .site-main > article:has(.post-image) .post-image img,
  body.archive .site-main > article:has(.post-image) .post-image img,
  body.search .site-main > article:has(.post-image) .post-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
  }

  body.blog .site-main > article:has(.post-image) .entry-header,
  body.archive .site-main > article:has(.post-image) .entry-header,
  body.search .site-main > article:has(.post-image) .entry-header { grid-area: heading !important; min-width: 0; }

  body.blog .site-main > article:has(.post-image) .entry-title,
  body.archive .site-main > article:has(.post-image) .entry-title,
  body.search .site-main > article:has(.post-image) .entry-title {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 5px !important;
    overflow-wrap: anywhere;
  }

  body.blog .site-main > article:has(.post-image) .entry-meta,
  body.archive .site-main > article:has(.post-image) .entry-meta,
  body.search .site-main > article:has(.post-image) .entry-meta {
    font-size: 10.5px !important;
    line-height: 1.5 !important;
    gap: 3px 6px !important;
  }

  body.blog .site-main > article:has(.post-image) .entry-summary,
  body.archive .site-main > article:has(.post-image) .entry-summary,
  body.search .site-main > article:has(.post-image) .entry-summary {
    grid-area: summary !important;
    margin: 2px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    min-width: 0;
  }

  body.blog .site-main > article:has(.post-image) .entry-summary p,
  body.archive .site-main > article:has(.post-image) .entry-summary p,
  body.search .site-main > article:has(.post-image) .entry-summary p {
    -webkit-line-clamp: 2;
    margin: 0;
  }

  body.blog .site-main > article:has(.post-image) .jp-read-more-wrap,
  body.archive .site-main > article:has(.post-image) .jp-read-more-wrap,
  body.search .site-main > article:has(.post-image) .jp-read-more-wrap {
    grid-area: more !important;
    align-self: end;
    margin: 2px 0 0 !important;
    padding: 0 !important;
  }

  body.blog .site-main > article:has(.post-image) .jp-read-more,
  body.archive .site-main > article:has(.post-image) .jp-read-more,
  body.search .site-main > article:has(.post-image) .jp-read-more {
    font-size: 12px !important;
    line-height: 1.5 !important;
    padding: 2px 0 !important;
    white-space: nowrap;
  }

  /* Keep the Japanese search button horizontal and prevent label wrapping. */
  .widget .search-form,
  .wp-block-search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .widget .search-form .search-field,
  .wp-block-search .wp-block-search__input { flex: 1 1 0; width: 1%; min-width: 0; }
  .widget .search-form .search-submit,
  .widget .search-form button.search-submit,
  .wp-block-search .wp-block-search__button {
    flex: 0 0 auto;
    min-width: 64px !important;
    width: auto !important;
    padding: 9px 10px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
}

@media (max-width: 360px) {
  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    padding: 10px !important;
  }
  body.blog .site-main > article:has(.post-image) .post-image,
  body.archive .site-main > article:has(.post-image) .post-image,
  body.search .site-main > article:has(.post-image) .post-image {
    width: 76px !important;
    height: 112px !important;
  }
  .sidebar .widget,
  .widget-area .widget { padding: 12px !important; }
}


/* jp9: denser mobile article cards and balanced thumbnail height. */
@media (max-width: 640px) {
  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      "thumbnail heading"
      "thumbnail summary"
      "thumbnail more" !important;
    column-gap: 11px !important;
    row-gap: 3px !important;
    align-items: stretch !important;
    min-height: 0 !important;
    padding: 11px !important;
  }

  body.blog .site-main > article:has(.post-image) .post-image,
  body.archive .site-main > article:has(.post-image) .post-image,
  body.search .site-main > article:has(.post-image) .post-image {
    grid-area: thumbnail !important;
    align-self: stretch !important;
    width: 78px !important;
    height: auto !important;
    min-height: 108px !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 8px;
  }

  body.blog .site-main > article:has(.post-image) .post-image a,
  body.archive .site-main > article:has(.post-image) .post-image a,
  body.search .site-main > article:has(.post-image) .post-image a,
  body.blog .site-main > article:has(.post-image) .post-image img,
  body.archive .site-main > article:has(.post-image) .post-image img,
  body.search .site-main > article:has(.post-image) .post-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
  }

  body.blog .site-main > article:has(.post-image) .entry-header,
  body.archive .site-main > article:has(.post-image) .entry-header,
  body.search .site-main > article:has(.post-image) .entry-header {
    grid-area: heading !important;
    min-width: 0;
    margin: 0 !important;
  }

  body.blog .site-main > article:has(.post-image) .entry-title,
  body.archive .site-main > article:has(.post-image) .entry-title,
  body.search .site-main > article:has(.post-image) .entry-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px !important;
    line-height: 1.42 !important;
    margin: 0 0 4px !important;
    overflow-wrap: anywhere;
  }

  /* Keep the date, but remove the extra author row from narrow archive cards. */
  body.blog .site-main > article:has(.post-image) .entry-header .byline,
  body.archive .site-main > article:has(.post-image) .entry-header .byline,
  body.search .site-main > article:has(.post-image) .entry-header .byline {
    display: none !important;
  }

  body.blog .site-main > article:has(.post-image) .entry-meta,
  body.archive .site-main > article:has(.post-image) .entry-meta,
  body.search .site-main > article:has(.post-image) .entry-meta {
    display: flex !important;
    gap: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  /* One short preview line keeps the title and thumbnail visually balanced. */
  body.blog .site-main > article:has(.post-image) .entry-summary,
  body.archive .site-main > article:has(.post-image) .entry-summary,
  body.search .site-main > article:has(.post-image) .entry-summary {
    grid-area: summary !important;
    min-width: 0;
    margin: 1px 0 0 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  body.blog .site-main > article:has(.post-image) .entry-summary p,
  body.archive .site-main > article:has(.post-image) .entry-summary p,
  body.search .site-main > article:has(.post-image) .entry-summary p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1 !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  body.blog .site-main > article:has(.post-image) .jp-read-more-wrap,
  body.archive .site-main > article:has(.post-image) .jp-read-more-wrap,
  body.search .site-main > article:has(.post-image) .jp-read-more-wrap {
    grid-area: more !important;
    align-self: start !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
  }

  body.blog .site-main > article:has(.post-image) .jp-read-more,
  body.archive .site-main > article:has(.post-image) .jp-read-more,
  body.search .site-main > article:has(.post-image) .jp-read-more {
    gap: 4px !important;
    padding: 1px 0 !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    white-space: nowrap;
  }

  body.blog .site-main > article:has(.post-image) footer.entry-meta,
  body.archive .site-main > article:has(.post-image) footer.entry-meta,
  body.search .site-main > article:has(.post-image) footer.entry-meta {
    display: none !important;
  }
}

@media (max-width: 360px) {
  body.blog .site-main > article:has(.post-image) .inside-article,
  body.archive .site-main > article:has(.post-image) .inside-article,
  body.search .site-main > article:has(.post-image) .inside-article {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    column-gap: 9px !important;
    padding: 10px !important;
  }

  body.blog .site-main > article:has(.post-image) .post-image,
  body.archive .site-main > article:has(.post-image) .post-image,
  body.search .site-main > article:has(.post-image) .post-image {
    width: 72px !important;
    min-height: 104px !important;
  }
}
