@charset "UTF-8";

/*!
Theme Name: Sumukotsu Cocoon Child
Description: スムコツ専用のCocoon子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら / スムコツ編集室
Author URI: https://sumukotsu.com/
Template: cocoon-master
Version: 1.2.9
*/

:root {
  --sumu-ivory: #fbf8f3;
  --sumu-surface: #ffffff;
  --sumu-teal: #3f6f68;
  --sumu-sage: #afc8be;
  --sumu-apricot: #e9a36f;
  --sumu-pink: #f5b8c4;
  --sumu-ink: #2f3735;
  --sumu-muted: #68736f;
  --sumu-line: #e3e8e4;
  --sumu-pale: #eef4f1;
  --sumu-shadow: 0 10px 30px rgba(47, 55, 53, 0.06);
  --sumu-radius: 16px;
  --sumu-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sumu-ivory);
  color: var(--sumu-ink);
  font-family: var(--sumu-font);
  font-size: 17px;
  line-height: 1.8;
}

a {
  color: var(--sumu-teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #2f5a54;
}

.sumu-wrap {
  box-sizing: border-box;
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}

/* Cocoonの標準ヘッダー・フッター・トップ一覧は子テーマ側のUIへ置換 */
#header-container,
#navi,
.mobile-header-menu-buttons,
.mobile-footer-menu-buttons,
#footer,
body.home #sidebar {
  display: none !important;
}

body.home #content,
body.home #content-in,
body.home .content-in,
body.home .content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home #main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Header */
.sumu-site-header {
  position: relative;
  z-index: 20;
  min-height: 78px;
  border-bottom: 1px solid var(--sumu-line);
  background: rgba(255, 255, 255, 0.96);
}

.sumu-site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sumu-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sumu-ink);
  text-decoration: none;
}

.sumu-house-mark {
  display: block;
  width: 58px;
  height: auto;
  flex: 0 0 58px;
  object-fit: contain;
}

.sumu-brand__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sumu-brand__name {
  display: block;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.sumu-brand__tagline {
  display: block;
  margin-top: 2px;
  color: var(--sumu-muted);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sumu-global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.sumu-global-nav a {
  color: #4d615c;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.sumu-global-nav a:hover,
.sumu-global-nav a[aria-current="page"] {
  color: var(--sumu-teal);
}

.sumu-mobile-nav {
  display: none;
  margin-left: auto;
}

.sumu-mobile-nav summary {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--sumu-teal);
  font-size: 24px;
  list-style: none;
}

.sumu-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.sumu-mobile-nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 12px 18px 18px;
  border-bottom: 1px solid var(--sumu-line);
  background: #fff;
  box-shadow: var(--sumu-shadow);
}

.sumu-mobile-nav__panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edf1ef;
  color: var(--sumu-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Front page */
.sumu-home {
  background: var(--sumu-ivory);
}

.sumu-hero {
  padding: 50px 0;
  background: linear-gradient(112deg, #f8f3ea, #edf5f1);
}

.sumu-hero__grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 46px;
  align-items: center;
}

.sumu-eyebrow {
  margin-bottom: 12px;
  color: var(--sumu-teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.sumu-hero h1 {
  margin: 0 0 15px;
  font-size: clamp(31px, 3vw, 40px);
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.sumu-hero p {
  margin: 0 0 23px;
  color: var(--sumu-muted);
  font-size: 16px;
  line-height: 1.9;
}

.sumu-search {
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--sumu-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(47, 55, 53, 0.05);
}

.sumu-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sumu-search input[type="search"] {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sumu-ink);
  font: inherit;
  font-size: 14px;
}

.sumu-search button {
  width: 56px;
  height: 56px;
  border: 0;
  background: var(--sumu-teal);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.sumu-hero__art {
  min-height: 310px;
  border-radius: 26px;
  background-position: left top;
  background-size: 200% 200%;
  box-shadow: 0 14px 35px rgba(47, 55, 53, 0.1);
}

.sumu-section {
  padding: 56px 0;
}

.sumu-section--white {
  background: #fff;
}

.sumu-section__head {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.sumu-section__title {
  position: relative;
  margin: 0;
  padding-left: 19px;
  font-size: 28px;
  line-height: 1.4;
}

.sumu-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 31px;
  border-radius: 8px;
  background: var(--sumu-teal);
}

.sumu-section__title::after {
  content: "";
  position: absolute;
  left: 11px;
  bottom: 1px;
  z-index: -1;
  width: 50px;
  height: 7px;
  border-radius: 8px;
  background: var(--sumu-pink);
  opacity: 0.65;
}

.sumu-section__sub {
  margin: 6px 0 0 19px;
  color: var(--sumu-muted);
  font-size: 13px;
}

.sumu-more {
  color: var(--sumu-teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sumu-more::after {
  content: "  →";
}

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

.sumu-category-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 21px;
  border: 1px solid var(--sumu-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(47, 55, 53, 0.035);
  color: var(--sumu-ink);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.sumu-category-card:hover {
  transform: translateY(-2px);
  border-color: var(--sumu-sage);
  color: var(--sumu-ink);
}

.sumu-category-card__icon,
.sumu-mini-icon {
  display: grid;
  place-items: center;
  background: var(--sumu-pale);
  color: var(--sumu-teal);
  font-weight: 900;
}

.sumu-category-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  font-size: 15px;
}

.sumu-category-card h3 {
  margin: 3px 0 6px;
  font-size: 16px;
  line-height: 1.5;
}

.sumu-category-card p {
  margin: 0;
  color: var(--sumu-muted);
  font-size: 12px;
  line-height: 1.65;
}

.sumu-category-card__more {
  grid-column: 2;
  margin-top: -6px;
  color: var(--sumu-teal);
  font-size: 11px;
  font-weight: 800;
}

.sumu-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.sumu-post-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sumu-line);
  border-radius: 19px;
  background: #fff;
  color: var(--sumu-ink);
  text-decoration: none;
}

.sumu-post-card:hover {
  color: var(--sumu-ink);
  border-color: var(--sumu-sage);
}

.sumu-post-card__thumb {
  aspect-ratio: 1200 / 630;
  background: var(--sumu-pale) center / cover no-repeat;
}

.sumu-post-card__body {
  padding: 16px;
}

.sumu-post-card__category {
  margin-bottom: 7px;
  color: var(--sumu-teal);
  font-size: 10px;
  font-weight: 850;
}

.sumu-post-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
}

.sumu-post-card__date {
  color: var(--sumu-muted);
  font-size: 11px;
}

.sumu-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 11px;
  background: var(--sumu-apricot);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.sumu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sumu-tag {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid #d9e3df;
  border-radius: 999px;
  background: #fff;
  color: #536963;
  font-size: 13px;
  text-decoration: none;
}

.sumu-tag::before {
  content: "#";
  margin-right: 3px;
  color: var(--sumu-apricot);
  font-weight: 900;
}

.sumu-guide {
  padding: 28px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--sumu-teal);
  color: #fff;
}

.sumu-guide small {
  color: #cfe0d9;
  font-weight: 800;
}

.sumu-guide h3 {
  margin: 8px 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
}

.sumu-guide p,
.sumu-guide a {
  color: #edf5f2;
  font-size: 13px;
}

.sumu-find-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.sumu-shelves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sumu-shelf {
  padding: 21px;
  border: 1px solid var(--sumu-line);
  border-radius: 18px;
  background: #fff;
}

.sumu-shelf__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 5px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--sumu-sage);
}

.sumu-mini-icon {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  font-size: 11px;
}

.sumu-shelf h3 {
  margin: 0;
  font-size: 15px;
}

.sumu-shelf ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sumu-shelf li {
  padding: 12px 2px;
  border-bottom: 1px solid #edf1ef;
  font-size: 12px;
  line-height: 1.55;
}

.sumu-shelf li a {
  color: var(--sumu-ink);
  text-decoration: none;
}

.sumu-shelf li::before {
  content: "›";
  margin-right: 7px;
  color: var(--sumu-apricot);
  font-weight: 900;
}

.sumu-shelf .sumu-more {
  display: block;
  margin-top: 14px;
  text-align: right;
  font-size: 11px;
}

.sumu-editor-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px 31px;
  border: 1px solid #dbe6e1;
  border-radius: 22px;
  background: #f1f6f3;
}

.sumu-yui-avatar {
  border-radius: 50%;
  background-position: left top;
  background-size: 200% 200%;
  box-shadow: inset 0 0 0 5px #fff;
}

.sumu-editor-card .sumu-yui-avatar {
  width: 105px;
  height: 105px;
}

.sumu-editor-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.sumu-editor-card p {
  margin: 0;
  color: var(--sumu-muted);
  font-size: 13px;
  line-height: 1.8;
}

.sumu-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--sumu-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.sumu-button:hover {
  background: #315b55;
  color: #fff;
}

/* Article */
body:not(.home) #content-in {
  width: min(100% - 40px, 1160px);
  margin: 28px auto 56px;
}

body:not(.home) #main {
  border: 1px solid var(--sumu-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sumu-shadow);
}

/* Cocoon's default 860px main + 376px sidebar exceeds the 1160px article area. */
@media screen and (min-width: 1024px) {
  body:not(.home) #content-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 280px);
    align-items: start;
    column-gap: 28px;
  }

  body:not(.home) #main,
  body:not(.home) #sidebar {
    box-sizing: border-box;
    width: auto !important;
    max-width: none;
    min-width: 0;
    margin: 0;
  }
}

.article h1.entry-title,
.article .entry-title {
  color: var(--sumu-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.48;
}

.article .entry-content {
  color: #3d4744;
  font-size: 17px;
  line-height: 1.86;
}

.article .entry-content > p {
  margin-bottom: 1.3em;
}

.article .entry-content h2 {
  margin: 2.25em 0 0.8em;
  padding: 14px 18px;
  border: 0;
  border-left: 6px solid var(--sumu-teal);
  border-radius: 5px 12px 12px 5px;
  background: var(--sumu-pale);
  color: var(--sumu-ink);
  font-size: 25px;
  line-height: 1.5;
}

.article .entry-content h3 {
  position: relative;
  margin: 1.9em 0 0.7em;
  padding: 3px 2px 9px;
  border: 0;
  border-bottom: 2px solid var(--sumu-sage);
  background: transparent;
  color: var(--sumu-ink);
  font-size: 20px;
  line-height: 1.5;
}

.article .entry-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 58px;
  height: 4px;
  border-radius: 5px;
  background: var(--sumu-apricot);
}

.article .entry-content h4 {
  margin: 1.7em 0 0.6em;
  padding-left: 11px;
  border-left: 4px solid var(--sumu-teal);
  color: var(--sumu-ink);
  font-size: 18px;
}

.article .entry-content .bold.marker-under-red,
.article .entry-content .marker-under-red,
.article .entry-content .sumu-marker {
  font-weight: 800;
  background: linear-gradient(transparent 62%, rgba(245, 184, 196, 0.82) 62%);
}

.article .entry-content blockquote,
.article .entry-content .blank-box.sticky {
  border-color: var(--sumu-line);
  background: #f3f5f4;
  color: var(--sumu-ink);
}

.article .entry-content table {
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
}

.article .entry-content th {
  background: var(--sumu-pale);
  color: var(--sumu-ink);
}

.article .entry-content .wp-block-table,
.article .entry-content .sumu-table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article .entry-content .wp-block-table table,
.article .entry-content .sumu-table-scroll table {
  margin: 0;
}

/* Article table of contents: keep Cocoon's native open/close behavior. */
.article .entry-content .toc {
  box-sizing: border-box;
  display: block;
  width: min(100%, 720px);
  margin: 1.6em auto 2em;
  padding: 18px 22px;
  border: 1px solid #e9dfd1;
  border-radius: 14px;
  background: var(--sumu-ivory);
  color: var(--sumu-ink);
  font-size: 15px;
}

.article .entry-content .toc-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 0 12px;
  color: var(--sumu-ink);
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.article .entry-content .toc-title::before {
  content: "";
  display: block;
  width: 4px;
  height: 19px;
  flex: 0 0 4px;
  border-radius: 4px;
  background: var(--sumu-teal);
}

.article .entry-content .toc-title::after {
  position: static;
  display: block;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sumu-muted);
  font-size: 12px;
  font-weight: 600;
}

.article .entry-content .toc-checkbox:checked + .toc-title::after {
  content: "閉じる ⌃";
}

.article .entry-content .toc-checkbox:not(:checked) + .toc-title::after {
  content: "開く ⌄";
}

.article .entry-content .toc-checkbox:not(:checked) ~ .toc-content {
  display: none;
}

.article .entry-content .toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sumu-toc;
}

.article .entry-content .toc-list > li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 31px;
  border-top: 1px solid #eee7dd;
  list-style: none;
  counter-increment: sumu-toc;
  line-height: 1.55;
}

.article .entry-content .toc-list > li::before {
  content: counter(sumu-toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--sumu-teal);
  font-weight: 800;
}

.article .entry-content .toc-list > li > a {
  color: #3f514c;
  text-decoration: none;
}

.article .entry-content .toc-list > li > a:hover,
.article .entry-content .toc-list > li > a:focus-visible {
  color: var(--sumu-teal);
  text-decoration: underline;
}

.article .entry-content .toc-list > li > ol {
  margin: 5px 0 0;
  padding: 0 0 0 8px;
  list-style: none;
}

.article .entry-content .toc-list > li > ol > li {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 17px;
  list-style: none;
  color: var(--sumu-muted);
  font-size: 13px;
  line-height: 1.6;
}

.article .entry-content .toc-list > li > ol > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--sumu-sage);
}

.article .entry-content .toc-list > li > ol > li > a {
  color: var(--sumu-muted);
  text-decoration: none;
}

/* Only top-level unordered lists in article content become list boxes. */
.article .entry-content > ul {
  box-sizing: border-box;
  margin: 1.2em 0 1.7em;
  padding: 14px 22px;
  border: 1px solid #e0ebe5;
  border-radius: 14px;
  background: #f5f9f6;
  list-style: none;
}

.article .entry-content > ul > li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 21px;
  list-style: none;
  line-height: 1.65;
}

.article .entry-content > ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7eaa9a;
}

.sns-share,
.sns-share-message,
.sns-share-buttons {
  display: none !important;
}

.sumu-article-tools {
  margin: 18px 0 22px;
}

.sumu-share {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sumu-share__button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e9cdb8;
  border-radius: 10px;
  background: #fae9dc;
  color: #765848;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.sumu-share__button:hover,
.sumu-share__button:focus-visible {
  border-color: #ce9f7f;
  background: #f5ddcb;
  color: #654631;
}

.sumu-share__button:focus-visible {
  outline: 2px solid #765848;
  outline-offset: 2px;
}

/* Cocoon's bottom Feedly/RSS follow block is not part of the article UI. */
.article-footer .sns-follow {
  display: none !important;
}

.sumu-copy-feedback {
  min-height: 21px;
  margin: 5px 0 0;
  color: var(--sumu-teal);
  font-size: 11px;
  text-align: right;
}

.sumu-author-strip {
  margin: 18px 0 24px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #e3ebe7;
  border-radius: 13px;
  background: #f4f7f5;
}

.sumu-author-strip .sumu-yui-avatar {
  width: 50px;
  height: 50px;
}

.sumu-author-strip strong {
  display: block;
  font-size: 13px;
}

.sumu-author-strip span {
  display: block;
  margin-top: 2px;
  color: var(--sumu-muted);
  font-size: 11px;
  line-height: 1.5;
}

.sumu-author-strip a {
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.sumu-profile {
  width: min(100% - 40px, 860px);
  margin: 42px auto 68px;
}

.sumu-profile__hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--sumu-line);
  border-radius: 24px;
  background: linear-gradient(120deg, #f1f6f3, #fbf8f3);
}

.sumu-profile__hero .sumu-yui-avatar {
  width: 160px;
  height: 160px;
}

.sumu-profile__eyebrow {
  color: var(--sumu-teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.sumu-profile h1 {
  margin: 6px 0 10px;
  font-size: 34px;
}

.sumu-profile__lead {
  margin: 0;
  color: var(--sumu-muted);
  font-size: 15px;
  line-height: 1.9;
}

.sumu-profile__body {
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid var(--sumu-line);
  border-radius: 20px;
  background: #fff;
}

.sumu-profile__body h2 {
  margin: 1.6em 0 0.7em;
  padding: 12px 16px;
  border-left: 6px solid var(--sumu-teal);
  border-radius: 5px 12px 12px 5px;
  background: var(--sumu-pale);
  font-size: 23px;
}

.sumu-profile__body h2:first-child {
  margin-top: 0;
}

/* Footer */
.sumu-site-footer {
  padding: 43px 0 28px;
  background: #31433f;
  color: #dfe9e5;
}

.sumu-site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
}

.sumu-site-footer .sumu-brand,
.sumu-site-footer .sumu-brand__name,
.sumu-site-footer h2 {
  color: #fff;
}

.sumu-site-footer .sumu-house-mark {
  filter: brightness(0) invert(1);
}

.sumu-site-footer h2 {
  margin: 0 0 12px;
  font-size: 15px;
}

.sumu-site-footer p,
.sumu-site-footer li,
.sumu-site-footer a {
  color: #c6d4cf;
  font-size: 11px;
  line-height: 1.8;
}

.sumu-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sumu-site-footer__copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  text-align: center;
}

@media screen and (max-width: 1023px) {
  .sumu-global-nav {
    gap: 14px;
  }

  .sumu-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sumu-shelves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 834px) {
  .sumu-wrap {
    width: min(100% - 36px, 760px);
  }

  .sumu-site-header,
  .sumu-site-header__inner {
    min-height: 66px;
  }

  .sumu-brand__name {
    font-size: 22px;
  }

  .sumu-global-nav {
    display: none;
  }

  .sumu-brand__tagline {
    margin-top: 1px;
    font-size: 9px;
    line-height: 1.35;
  }

  .sumu-mobile-nav {
    display: block;
  }

  .sumu-hero {
    padding: 32px 0;
  }

  .sumu-hero__grid {
    display: block;
  }

  .sumu-hero__art {
    min-height: 210px;
    margin-top: 22px;
  }

  .sumu-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sumu-shelves {
    grid-template-columns: 1fr;
  }

  .sumu-find-grid {
    grid-template-columns: 1fr;
  }

  .sumu-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  .sumu-wrap {
    width: calc(100% - 36px);
  }

  .sumu-house-mark {
    width: 48px;
    height: auto;
    flex-basis: 48px;
  }

  .sumu-hero {
    padding: 29px 0 34px;
  }

  .sumu-eyebrow {
    font-size: 10px;
  }

  .sumu-hero h1 {
    font-size: 27px;
  }

  .sumu-hero p {
    font-size: 13px;
    line-height: 1.75;
  }

  .sumu-search,
  .sumu-search button {
    height: 50px;
  }

  .sumu-search button {
    width: 50px;
  }

  .sumu-hero__art {
    min-height: 184px;
    border-radius: 18px;
  }

  .sumu-section {
    padding: 40px 0;
  }

  .sumu-section__head {
    align-items: flex-start;
  }

  .sumu-section__head > .sumu-more {
    display: none;
  }

  .sumu-section__title {
    padding-left: 15px;
    font-size: 22px;
  }

  .sumu-section__title::before {
    top: 4px;
    height: 26px;
  }

  .sumu-section__sub {
    margin-left: 15px;
    font-size: 11px;
  }

  .sumu-categories {
    gap: 11px;
  }

  .sumu-category-card {
    display: block;
    padding: 15px;
  }

  .sumu-category-card__icon {
    width: 43px;
    height: 43px;
    margin-bottom: 10px;
    border-radius: 13px;
    font-size: 11px;
  }

  .sumu-category-card h3 {
    font-size: 14px;
  }

  .sumu-category-card p {
    font-size: 10px;
  }

  .sumu-category-card__more {
    display: inline-block;
    margin-top: 8px;
  }

  .sumu-popular-track {
    width: calc(100% + 18px);
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 1px 18px 15px 1px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sumu-popular-track::-webkit-scrollbar {
    display: none;
  }

  .sumu-popular-track .sumu-post-card {
    width: 81vw;
    max-width: 355px;
    flex: 0 0 81vw;
    scroll-snap-align: start;
  }

  .sumu-latest-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sumu-latest-grid .sumu-post-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .sumu-latest-grid .sumu-post-card__thumb {
    height: 100%;
    min-height: 86px;
  }

  .sumu-latest-grid .sumu-post-card__body {
    padding: 11px 12px;
  }

  .sumu-editor-card {
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
  }

  .sumu-editor-card .sumu-yui-avatar {
    width: 70px;
    height: 70px;
  }

  .sumu-editor-card h3 {
    font-size: 16px;
  }

  .sumu-editor-card p {
    font-size: 11px;
  }

  .sumu-editor-card .sumu-button {
    grid-column: 1 / -1;
  }

  body:not(.home) #content-in {
    width: calc(100% - 24px);
    margin-top: 14px;
  }

  body:not(.home) #main {
    padding: 18px;
    border-radius: 15px;
  }

  .article h1.entry-title,
  .article .entry-title {
    font-size: 23px;
    line-height: 1.5;
  }

  .article .entry-content {
    font-size: 17px;
    line-height: 1.86;
  }

  .article .entry-content h2 {
    margin-top: 2em;
    padding: 12px 14px;
    font-size: 22px;
  }

  .article .entry-content h3 {
    font-size: 19px;
  }

  .sumu-share {
    gap: 6px;
  }

  .sumu-share__button {
    padding-inline: 3px;
    font-size: 11px;
  }

  .article .entry-content .toc {
    width: 100%;
    padding: 15px 16px;
    font-size: 14px;
  }

  .article .entry-content .toc-list > li {
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 14px;
  }

  .article .entry-content > ul {
    padding: 12px 16px;
  }

  .sumu-author-strip {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 10px;
  }

  .sumu-author-strip .sumu-yui-avatar {
    width: 46px;
    height: 46px;
  }

  .sumu-author-strip a {
    grid-column: 1 / -1;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .sumu-profile {
    width: calc(100% - 28px);
    margin-top: 24px;
  }

  .sumu-profile__hero {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 15px;
    padding: 20px;
  }

  .sumu-profile__hero .sumu-yui-avatar {
    width: 86px;
    height: 86px;
  }

  .sumu-profile h1 {
    font-size: 26px;
  }

  .sumu-profile__lead {
    font-size: 13px;
  }

  .sumu-profile__body {
    padding: 22px 20px;
  }

  .sumu-profile__body h2 {
    font-size: 21px;
  }

  .sumu-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Affiliate suggestions: quiet, article-native, and readable on a phone. */
.article .entry-content .sumu-product-card {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--sumu-line);
  border-radius: var(--sumu-radius);
  background: var(--sumu-surface);
  box-shadow: var(--sumu-shadow);
}

.article .entry-content .sumu-product-card__label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sumu-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.article .entry-content .sumu-product-card__body {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.article .entry-content .sumu-product-card__image {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  object-fit: contain;
  background: var(--sumu-ivory);
  border-radius: 12px;
}

.article .entry-content .sumu-product-card__copy { min-width: 0; }
.article .entry-content .sumu-product-card__title {
  margin: 0 0 6px;
  color: var(--sumu-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}
.article .entry-content .sumu-product-card__why { margin: 0 0 8px; font-size: 15px; }
.article .entry-content .sumu-product-card__item { margin: 0; color: var(--sumu-muted); font-size: 12px; line-height: 1.5; }
.article .entry-content .sumu-product-card__retailers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.article .entry-content .sumu-product-card__retailer {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--sumu-line);
  border-radius: 11px;
  background: var(--sumu-ivory);
}
.article .entry-content .sumu-product-card__retailer small {
  display: block;
  min-height: 2.8em;
  color: var(--sumu-muted);
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.article .entry-content .sumu-product-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.article .entry-content .sumu-product-card__button {
  margin-top: 10px;
  color: #fff;
  background: var(--sumu-teal);
}
.article .entry-content .sumu-product-card__button:hover,
.article .entry-content .sumu-product-card__button:focus-visible { color: #fff; background: #335c56; }
.article .entry-content .sumu-product-card__credit {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
}
@media screen and (max-width: 600px) {
  .article .entry-content .sumu-product-card { padding: 17px; }
  .article .entry-content .sumu-product-card__body { align-items: flex-start; gap: 12px; }
  .article .entry-content .sumu-product-card__image { width: 82px; height: 82px; flex-basis: 82px; }
  .article .entry-content .sumu-product-card__title { font-size: 17px; }
  .article .entry-content .sumu-product-card__why { font-size: 14px; }
  .article .entry-content .sumu-product-card__retailers { grid-template-columns: 1fr; }
  .article .entry-content .sumu-product-card__retailer small { min-height: 0; }
}
