/*
Theme Name: Coreii
Theme URI: https://coreii.jp/
Author: シカクサンカク
Description: コレイイ用のオリジナルWordPressクラシックテーマ
Version: 1.0.0
Text Domain: coreii
*/

:root {
  --color-text: #242424;
  --color-border: #242424;
  --color-soft-bg: #f5efe3;
  --color-thumbnail: #e3d4d1;
  --color-dark: #21130f;
  --color-white: #ffffff;
  --color-ink: #282726;
  --color-line: #2a201d;
  --color-accent: #e46b55;
  --color-paper: #ffffff;
  --color-warm: #f4eee2;
  --color-placeholder: #e3d2cf;
  --color-brown: #24130f;
  --color-muted: #625a55;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --editorial-gutter: clamp(16px, 2.2vw, 32px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container,
.site-container,
.header-inner,
.hero-inner,
.titles-inner,
.home-main-inner,
.category-notes-inner,
.newsletter-inner,
.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.section-line {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.site-header__inner.container,
.hero__inner.container,
.titles-section.container,
.front-board.container,
.category-notes.container,
.reason-section .container,
.mail-section.container {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--color-accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.archive-description {
  max-width: 760px;
  color: var(--color-muted);
}

.empty-note {
  color: var(--color-muted);
  font-weight: 400;
}

.js .js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.js .js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .js-reveal-heading,
.js .js-reveal-content {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .js-reveal.is-visible .js-reveal-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.js .js-reveal.is-visible .js-reveal-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.js .reveal--header.is-visible {
  transition-delay: 0s;
}

.js .hero.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.js .hero.js-reveal .hero__copy,
.js .hero.js-reveal .hero__logo {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero.js-reveal.is-visible .hero__copy,
.js .hero.js-reveal.is-visible .hero__logo {
  opacity: 1;
  transform: translateY(0);
}

.js .hero.js-reveal.is-visible .hero__copy {
  transition-delay: 0.1s;
}

.js .hero.js-reveal.is-visible .hero__logo {
  transition-delay: 0.22s;
}

.js .titles-section.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .titles-section.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

.js .titles-section.js-reveal .js-reveal-heading,
.js .titles-section.js-reveal .js-reveal-content {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .titles-section.js-reveal.is-visible .js-reveal-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

.js .titles-section.js-reveal.is-visible .js-reveal-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}

.js .reveal--editorial,
.js .reveal--footer {
  opacity: 0.92;
  transform: translateY(8px);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal--editorial.is-visible,
.js .reveal--footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal--editorial .js-reveal-heading,
.js .reveal--editorial .js-reveal-content,
.js .reveal--footer .js-reveal-content {
  opacity: 0.92;
  transform: translateY(6px);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal--editorial.is-visible .js-reveal-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.02s;
}

.js .reveal--editorial.is-visible .js-reveal-content,
.js .reveal--footer.is-visible .js-reveal-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.js .reveal--editorial.is-visible .reveal-delay-2,
.js .reveal--footer.is-visible .reveal-delay-2 {
  transition-delay: 0.1s;
}

.js .reveal--mail {
  transform: translateY(8px);
}

.js .reveal--footer {
  transform: translateY(8px);
}

.js .js-reveal.is-reveal-complete,
.js .js-reveal.is-reveal-complete .js-reveal-heading,
.js .js-reveal.is-reveal-complete .js-reveal-content,
.js .hero.js-reveal.is-reveal-complete .hero__copy,
.js .hero.js-reveal.is-reveal-complete .hero__logo {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.site-header {
  position: relative;
  z-index: 1000;
  background: var(--color-paper);
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding-block: 32px 28px;
}

.site-brand img {
  width: 108px;
}

.global-nav__list,
.footer-nav__list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav__list {
  border-top: 1px solid #6d6d6d;
  border-left: 1px solid #6d6d6d;
}

.global-nav__list a {
  display: block;
  padding: 4px 12px;
  border-right: 1px solid #6d6d6d;
  border-bottom: 1px solid #6d6d6d;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-drawer-categories,
.mobile-timeline-avatar,
.mobile-drawer-overlay {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
}

.menu-toggle__line,
.menu-toggle__line::before,
.menu-toggle__line::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--color-line);
  content: "";
}

.menu-toggle__line::before {
  transform: translateY(-7px);
}

.menu-toggle__line::after {
  transform: translateY(5px);
}

.hero {
  padding: 22px 0 30px;
}

.hero__inner {
  display: grid;
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 16px;
}

.hero__copy {
  align-self: center;
  max-width: 140px;
  padding-bottom: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.04em;
}

.hero__copy p {
  margin-bottom: 8px;
}

.hero__logo {
  margin: 0;
}

.hero__logo img {
  width: min(540px, 100%);
  margin-inline: auto;
}

.titles-section {
  position: relative;
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding: 18px 0 18px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-paper);
}

.titles-section h2 {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.titles-grid {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  margin-inline: auto;
}

.title-item,
.title-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 118px;
  text-align: center;
}

.title-item img,
.title-card__icon {
  width: 80px;
  height: 52px;
  margin-bottom: 8px;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.title-card:hover .title-card__icon,
.title-card:focus-visible .title-card__icon {
  transform: scale(1.07);
}

.title-item__name-ja,
.title-card__label {
  min-height: 15px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.title-item__name-en,
.title-card__name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.title-item__new,
.title-card__new,
.title-new {
  display: block;
  min-height: 13px;
  margin-top: 4px;
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.title-card__new-placeholder {
  display: block;
  min-height: 13px;
  margin-top: 4px;
}

.front-board {
  display: grid;
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  grid-template-columns: minmax(380px, 560px) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  padding: 24px 0 44px;
}

.front-board > * + * {
  border-left: 1px solid rgba(36, 36, 36, 0.82);
  padding-left: 16px;
}

.front-board__notes {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  height: var(--front-board-featured-height, auto);
  max-height: var(--front-board-featured-height, none);
  grid-template-rows: max-content minmax(0, 1fr);
  gap: 6px;
}

.front-board__notes--has-recommended {
  grid-template-rows: max-content max-content minmax(0, 1fr);
}

.front-board__notes .note-column + .note-column {
  padding-top: 6px;
  border-top: 1px solid var(--color-border);
}

.front-board__notes .note-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.accent-heading {
  margin-bottom: 18px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.featured-card h3 {
  display: -webkit-box;
  overflow: hidden;
  max-width: 620px;
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-card p,
.featured-post-excerpt {
  display: -webkit-box;
  overflow: hidden;
  max-width: 720px;
  min-height: calc(1.65em * 3);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-date {
  margin-bottom: 10px;
  color: rgba(36, 36, 36, 0.64);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: center;
  color: rgba(36, 36, 36, 0.44);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.coreii-like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  line-height: 1;
  text-decoration: none;
}

.coreii-like--button {
  cursor: pointer;
}

.coreii-like--static {
  cursor: default;
}

.coreii-like__icon {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.coreii-like__count {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 12px;
}

.coreii-like--button:hover {
  opacity: 0.7;
}

.coreii-like.is-liked {
  color: #e86b5a;
}

.featured-post-excerpt + .article-meta {
  margin-top: -8px;
  margin-bottom: 14px;
}

.article-views-count {
  color: rgba(36, 36, 36, 0.56);
}

.image-box {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-placeholder);
  place-items: center;
  border-radius: 4px;
  box-shadow: none;
}

.image-box--large {
  aspect-ratio: 4 / 3;
  max-height: clamp(340px, 38vw, 500px);
  min-height: 0;
  margin-top: 16px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  background: var(--color-placeholder);
}

.post-thumbnail-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-thumbnail);
  border-radius: 4px;
  box-shadow: none;
}

.post-thumbnail,
.post-card__thumbnail,
.post-card__placeholder,
.small-post-card .post-thumbnail,
.small-post-card .post-thumbnail-placeholder,
.featured-thumbnail,
.featured-post .post-thumbnail,
.featured-post .post-thumbnail-placeholder,
.category-note-thumbnail,
.archive-post-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-thumbnail);
  border-radius: 4px;
  box-shadow: none;
}

.post-thumbnail img,
.post-card__thumbnail img,
.featured-thumbnail img,
.featured-post .post-thumbnail img,
.category-note-thumbnail img,
.archive-post-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-kicker {
  display: inline-block;
  padding: 0;
  margin-bottom: 8px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.post-card__category,
.category-link {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--color-line);
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

.note-column__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.note-column__header h2 {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.note-column__header a,
.plain-link {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.note-column__header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.note-column__advance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(36, 36, 36, 0.42);
  border-radius: 4px;
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.note-column__advance:hover {
  background: var(--color-ink);
  color: var(--color-paper);
}

.latest-notes .note-column__list,
.popular-notes .note-column__list,
.recommended-notes .note-column__list {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  overscroll-behavior-x: auto;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  touch-action: pan-y pan-x;
}

.latest-notes .note-column__list::-webkit-scrollbar,
.popular-notes .note-column__list::-webkit-scrollbar,
.recommended-notes .note-column__list::-webkit-scrollbar {
  display: none;
}

.latest-notes .note-column__list::-webkit-scrollbar-thumb,
.popular-notes .note-column__list::-webkit-scrollbar-thumb,
.recommended-notes .note-column__list::-webkit-scrollbar-thumb {
  background: rgba(36, 36, 36, 0.28);
}

.post-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.post-card:last-child {
  margin-bottom: 0;
}

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

.post-card__image {
  margin-bottom: 12px;
}

.post-card__body {
  padding: 0;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.55em * 3);
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.65em * 3);
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.small-post-card {
  display: flex;
  flex-direction: column;
}

.front-board__notes .small-post-card {
  flex: 0 0 156px;
  min-width: 0;
  min-height: 100%;
}

.front-board__notes .small-post-card__body {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.front-board__notes .small-post-card + .small-post-card {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.small-post-card__category {
  display: inline-block;
  margin-bottom: 4px;
  color: rgba(36, 36, 36, 0.86);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.front-board__notes .small-post-card__category {
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.small-post-card__thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-thumbnail);
  border-radius: 4px;
  box-shadow: none;
}

.small-post-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-post-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.38em * 2);
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.small-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.small-post-card__meta {
  margin-top: 3px;
  margin-bottom: 0;
}

.front-board__notes .small-post-card__meta {
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
  min-height: 16px;
  color: rgba(36, 36, 36, 0.42);
  font-size: 9.5px;
  line-height: 1.15;
  white-space: nowrap;
}

.front-board__notes .small-post-card__meta .coreii-like__icon {
  width: 13px;
  height: 13px;
}

.front-board__notes .small-post-card__meta .coreii-like__count {
  font-size: 11px;
}

.small-post-card__excerpt,
.small-post-card__image-slider {
  display: none;
}

.resource-lanes {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding: 0 0 42px;
}

.resource-lanes__inner {
  display: grid;
  gap: 20px;
}

.resource-lane {
  position: relative;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.resource-lane__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  max-width: 960px;
  margin-bottom: 12px;
}

.resource-lane__header h2 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.resource-lane__header p {
  max-width: 560px;
  margin: 0;
  color: rgba(36, 36, 36, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.resource-lane__more {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
}

.resource-lane__track {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 5px;
  overscroll-behavior-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.resource-lane__track::-webkit-scrollbar {
  display: none;
}

.living-reference-section {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding: 32px 0 40px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.living-reference-section__header {
  display: grid;
  grid-template-columns: minmax(160px, 0.26fr) minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.living-reference-section__eyebrow {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.living-reference-section__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.living-reference-section__description {
  max-width: 560px;
  margin: 7px 0 0;
  color: rgba(36, 36, 36, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.living-reference-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 16px;
  align-items: start;
}

.living-reference-list {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.living-reference-list__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.living-reference-list__items {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.living-reference-list__items::-webkit-scrollbar {
  display: none;
}

.living-reference-list--attention .living-reference-list__items {
  grid-template-columns: 1fr;
}

.living-reference-card {
  position: relative;
  display: flex;
  min-height: 148px;
  flex-direction: column;
  padding: 0 16px 4px;
  border-top: 3px solid transparent;
  color: inherit;
  text-decoration: none;
}

.living-reference-card + .living-reference-card {
  border-left: 1px solid rgba(36, 36, 36, 0.5);
}

.living-reference-list--attention .living-reference-card {
  min-height: 0;
  padding: 12px 0 11px;
  border-left: 0;
  border-top: 1px solid rgba(36, 36, 36, 0.16);
}

.living-reference-list--attention .living-reference-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.living-reference-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 11px;
  padding: 5px 8px;
  border: 1px solid rgba(36, 36, 36, 0.12);
  border-radius: 999px;
  background: #fff;
  color: rgba(36, 36, 36, 0.68);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.living-reference-card__dot {
  color: var(--color-accent);
  font-size: 10px;
  line-height: 1;
}

.living-reference-card--green .living-reference-card__dot {
  color: #4f8f5f;
}

.living-reference-card--green {
  border-top-color: rgba(79, 143, 95, 0.65);
}

.living-reference-card--yellow .living-reference-card__dot {
  color: #c69236;
}

.living-reference-card--yellow {
  border-top-color: rgba(198, 146, 54, 0.72);
}

.living-reference-card--red .living-reference-card__dot {
  color: #c96050;
}

.living-reference-card--red {
  border-top-color: rgba(201, 96, 80, 0.72);
}

.living-reference-card__category {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.living-reference-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.living-reference-card__title a {
  color: inherit;
  text-decoration: none;
}

.living-reference-card__meta {
  margin: auto 0 0;
  padding-top: 14px;
  color: rgba(36, 36, 36, 0.56);
  font-size: 11px;
  line-height: 1.45;
}

.living-reference-card__meta p {
  margin: 0;
}

.living-reference-card__meta p + p {
  margin-top: 3px;
}

.living-reference-section__empty {
  margin: 0;
  color: rgba(36, 36, 36, 0.6);
  font-size: 13px;
}

.resource-intro-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(250px, 22vw, 320px);
  min-height: 256px;
  min-width: 0;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid rgba(36, 36, 36, 0.06);
  border-radius: 12px;
  background: #d9d9d9;
  scroll-snap-align: start;
}

.resource-intro-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  margin: -2px -4px 18px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.resource-intro-card__visual img {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.resource-intro-card__body h3 {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.resource-intro-card__body p {
  margin: 0;
  color: var(--color-ink);
  font-size: 14px;
  line-height: 1.65;
}

.resource-intro-card__body p + p {
  margin-top: 6px;
}

.resource-lane--prompt {
  padding-top: 14px;
}

.resource-lane--prompt .resource-lane__header {
  max-width: none;
  margin-bottom: 10px;
}

.resource-lane--prompt .resource-lane__track {
  gap: 32px;
  padding: 0 2px 3px;
}

.resource-lane--prompt .resource-intro-card,
.resource-lane--prompt .resource-card,
.resource-lane--prompt .resource-card__icon,
.resource-lane--prompt .resource-card__button {
  border-radius: 4px;
}

.resource-lane--prompt .resource-intro-card,
.resource-lane--prompt .resource-card {
  min-height: 232px;
  padding: 14px;
  border-color: transparent;
  box-shadow: none;
}

.resource-lane--prompt .resource-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.resource-lane--prompt .resource-lane__track > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 1px;
  background: rgba(36, 36, 36, 0.82);
}

.resource-lane--prompt .resource-intro-card__visual {
  min-height: 148px;
  margin: -2px -2px 12px;
}

.resource-lane--prompt .resource-intro-card__visual img {
  max-height: 160px;
  margin-top: 16px;
}

.resource-lane--prompt .resource-intro-card__body h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.42;
}

.resource-lane--prompt .resource-intro-card__body p {
  font-size: 13px;
  line-height: 1.6;
}

.resource-lane--prompt .resource-card__top {
  margin-bottom: 10px;
}

.resource-lane--prompt .resource-card__icon {
  width: 56px;
  height: 56px;
}

.resource-lane--prompt .resource-card--with-thumbnail {
  min-height: 372px;
  padding-top: 0;
}

.resource-card__thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-placeholder);
  text-decoration: none;
}

.resource-card__thumbnail img,
.resource-card__thumbnail-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.resource-card__thumbnail img {
  object-fit: cover;
}

.resource-card__thumbnail-placeholder {
  background: var(--color-thumbnail);
}

.resource-lane--prompt .resource-card--with-thumbnail .resource-card__top {
  align-items: flex-start;
  margin-bottom: 8px;
}

.resource-lane--prompt .resource-card--with-thumbnail .resource-card__category {
  margin-bottom: 0;
}

.resource-lane--prompt .resource-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.resource-lane--prompt .resource-card p {
  margin-bottom: 10px;
  font-size: 13px;
}

.resource-lane--prompt .resource-card__footer {
  padding-top: 10px;
}

.resource-lane--prompt .resource-card__button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.resource-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(210px, 20vw, 280px);
  min-height: 256px;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  border: 1px solid rgba(36, 36, 36, 0.14);
  border-radius: 12px;
  background: var(--color-paper);
  box-shadow: 0 8px 22px rgba(36, 36, 36, 0.04);
  scroll-snap-align: start;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.resource-card[data-resource-href] {
  cursor: pointer;
}

.resource-card a,
.resource-card button {
  position: relative;
  z-index: 2;
}

.resource-card:hover {
  border-color: rgba(36, 36, 36, 0.34);
  box-shadow: 0 12px 28px rgba(36, 36, 36, 0.07);
  transform: translateY(-2px);
}

.resource-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.resource-card__category {
  display: block;
  margin-bottom: 8px;
  color: rgba(36, 36, 36, 0.62);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.resource-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 16px;
  background: #f2edf8;
  color: var(--color-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.resource-card__icon--image {
  overflow: hidden;
  padding: 6px;
}

.resource-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resource-card--tools .resource-card__icon {
  background: #eaf5ee;
}

.resource-card--template .resource-card__icon {
  background: #f8f0d8;
}

.resource-card--checklist .resource-card__icon {
  background: #e7f0f8;
}

.resource-card--download .resource-card__icon {
  background: #f8e8e5;
}

.resource-card__labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.resource-card__labels span {
  padding: 3px 6px;
  border: 1px solid rgba(228, 107, 85, 0.26);
  border-radius: 999px;
  background: rgba(228, 107, 85, 0.08);
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.resource-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.42em * 2);
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-card h3 a {
  color: inherit;
  text-decoration: none;
}

.resource-card h3 a:hover {
  color: var(--color-accent);
}

.resource-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.62em * 2);
  margin: 0 0 12px;
  color: rgba(36, 36, 36, 0.64);
  font-size: 14px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-card .resource-card__catch {
  min-height: 0;
  margin-bottom: 8px;
  color: var(--color-ink);
  font-weight: 600;
  -webkit-line-clamp: 2;
}

.resource-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 36, 36, 0.12);
}

.resource-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  margin-top: 0;
  padding: 0 14px;
  border: 1px solid #242424;
  border-radius: 999px;
  background: #242424;
  color: var(--color-paper);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.resource-card__button:hover,
.resource-card__button.is-copied {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-paper);
}

.resource-card__button.is-copy-error {
  border-color: rgba(36, 36, 36, 0.38);
  background: rgba(36, 36, 36, 0.72);
  color: var(--color-paper);
}

.resource-card__bookmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(36, 36, 36, 0.2);
  border-radius: 999px;
  color: rgba(36, 36, 36, 0.5);
  font-size: 16px;
  line-height: 1;
}

.resource-card__bookmark::before {
  content: "";
  width: 10px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
}

.resource-card__bookmark::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background: var(--color-paper);
  transform: translateX(-50%) rotate(-45deg);
}

.resource-lane--slider {
  padding: 22px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.resource-lane--slider .resource-lane__header {
  max-width: none;
}

.resource-lane__slider {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
}

.resource-lane__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(36, 36, 36, 0.24);
  border-radius: 999px;
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.resource-lane__arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.resource-lane__advance {
  position: absolute;
  right: 0;
  top: calc(50% + 18px);
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(36, 36, 36, 0.82);
  border-radius: 4px;
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.resource-lane--today .resource-lane__advance,
.resource-lane--prompt .resource-lane__advance {
  display: inline-flex;
}

.resource-lane__advance:hover {
  background: var(--color-ink);
  color: var(--color-paper);
}

.resource-lane--slider .resource-lane__track {
  gap: 14px;
  scroll-snap-type: x proximity;
}

.resource-lane--slider .resource-card {
  flex-basis: clamp(220px, 26vw, 320px);
  min-height: 238px;
}

.resource-lane--today.resource-lane--slider {
  padding: 14px 0 0;
  border-bottom: 0;
}

.resource-lane--today .resource-lane__header {
  max-width: none;
  margin-bottom: 10px;
}

.resource-lane--today .resource-lane__slider {
  display: block;
}

.resource-lane--today .resource-lane__arrow,
.resource-lane--today .resource-lane__dots {
  display: none;
}

.resource-lane--today .resource-lane__track {
  gap: 32px;
  padding: 0 2px 3px;
}

.resource-lane--today .resource-card,
.resource-lane--today .resource-card__icon,
.resource-lane--today .resource-card__button {
  border-radius: 4px;
}

.resource-lane--today .resource-card {
  flex-basis: clamp(210px, 20vw, 280px);
  min-height: 232px;
  padding: 14px;
  border-color: transparent;
  box-shadow: none;
}

.resource-lane--today .resource-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.resource-lane--today .resource-lane__track > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 1px;
  background: rgba(36, 36, 36, 0.82);
}

.resource-lane--today .resource-card__top {
  margin-bottom: 10px;
}

.resource-lane--today .resource-card__icon {
  width: 56px;
  height: 56px;
}

.resource-lane--today .resource-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.resource-lane--today .resource-card p {
  margin-bottom: 10px;
  font-size: 13px;
}

.resource-lane--today .resource-card__footer {
  padding-top: 10px;
}

.resource-lane--today .resource-card__button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.resource-lane__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.resource-lane__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 36, 36, 0.24);
}

.resource-lane__dots button.is-active {
  width: 22px;
  background: var(--color-accent);
}

.resource-lane__empty {
  padding: 14px 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
}

.category-notes {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding: 34px 0 48px;
  border-top: 1px solid var(--color-border);
}

.category-notes > h2 {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.category-notes__grid {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: clamp(180px, 18vw, 320px);
  padding-bottom: 10px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.category-notes__grid::-webkit-scrollbar {
  display: none;
}

.category-note,
.category-note-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 220px;
  height: 100%;
  min-width: 0;
}

.category-note:not(:last-child),
.category-note-card:not(:last-child) {
  padding-right: 18px;
  border-right: 1px solid var(--color-border);
}

.category-note h3 {
  font-family: var(--font-serif);
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.category-note-thumbnail,
.category-note-thumbnail-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-placeholder);
  border-radius: 4px;
  box-shadow: none;
}

.category-note-thumbnail {
  margin-bottom: 12px;
}

.category-note-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-note-meta {
  display: none;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.category-note-post-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.55em * 3);
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.category-note-meta-line {
  margin-top: -10px;
  margin-bottom: 8px;
}

.category-note-excerpt {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.65em * 3);
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.category-note-divider {
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

.category-note__link {
  display: inline-block;
  margin-top: 0;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.reason-section {
  padding: 48px 0 56px;
  background: var(--color-brown);
  color: var(--color-paper);
}

.reason-section .container,
.mail-section.container {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
}

.reason-section h2 {
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.06em;
}

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

.reason-card {
  position: relative;
}

@media (min-width: 768px) {
  .reason-card:not(:last-child) {
    padding-right: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
  }

  .reason-card:not(:first-child) {
    padding-left: 32px;
  }
}

.reason-card__image {
  position: relative;
  height: 230px;
  margin-bottom: 22px;
  background: none;
  overflow: hidden;
}

.reason-card__image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reason-card__icon {
  position: absolute;
  top: 14px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-accent);
}

.reason-card__icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.reason-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.reason-card p {
  max-width: 480px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.mail-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.mail-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 56px 7%;
  border-radius: 8px;
  background: var(--color-warm);
}

.mail-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
}

.mail-panel p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.mail-form {
  display: grid;
  width: 100%;
  max-width: 720px;
  grid-template-columns: minmax(0, 1fr) 200px;
}

.mail-form input,
.mail-form button {
  min-height: 48px;
  border: 1px solid #b9b9b9;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.mail-form input {
  width: auto;
  min-width: 0;
  padding: 0 16px;
  border-radius: 4px 0 0 4px;
  background: var(--color-paper);
}

.mail-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  width: 200px;
  max-width: 200px;
  border-color: var(--color-accent);
  border-radius: 0 8px 8px 0;
  background: var(--color-accent);
  color: var(--color-paper);
  cursor: pointer;
}

.site-footer {
  padding: 32px 0 48px;
  background: var(--color-paper);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 240px repeat(3, minmax(160px, 1fr));
  gap: 48px;
  align-items: start;
}

.site-footer__logo img {
  width: 108px;
  margin-bottom: 28px;
}

.site-footer p {
  max-width: 220px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
}

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

.site-footer li {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.site-footer a {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.site-footer__social-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-muted);
  line-height: 1;
}

.site-footer__social-link:hover {
  color: var(--color-accent);
}

.site-footer__social-icon {
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: var(--social-icon) center / contain no-repeat;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
}

.site-footer__copy {
  margin-top: 38px;
  color: var(--color-muted);
}

.archive-header,
.error-page,
.single-post,
.page-content,
.post-list {
  padding-block: 48px;
}

.breadcrumb {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 24px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.archive-header h1,
.page-content h1,
.single-post h1,
.error-page h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
}

.entry-content {
  max-width: 760px;
  font-size: 1.05rem;
}

.single-post__header,
.page-content__header {
  max-width: 900px;
}

.single-post__header {
  padding-bottom: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--color-border);
}

.single-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  gap: 72px;
  align-items: start;
}

.single-post__main {
  min-width: 0;
}

.single-post__sidebar {
  position: sticky;
  top: 24px;
  padding-left: 28px;
  border-left: 1px solid var(--color-border);
}

.page-content__thumbnail {
  max-width: 1120px;
  margin: 32px 0;
  background: var(--color-placeholder);
}

.page-content__thumbnail img {
  width: 100%;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.4em;
}

.entry-content img {
  height: auto;
}

.entry-content p {
  line-height: 1.9;
}

.page-content {
  max-width: 860px;
  padding-block: 48px 68px;
}

.page-content__header {
  padding-bottom: 26px;
  margin: 0 auto 34px;
  border-bottom: 1px solid var(--color-border);
}

.page-content .page-content__title {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.page-content__thumbnail {
  max-width: 860px;
  margin: 0 auto 36px;
  background: var(--color-placeholder);
}

.page-content__thumbnail img {
  width: 100%;
  height: auto;
}

.page-content__body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
}

.page-content__body > * {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.page-content__body h2 {
  margin-top: 2.6em;
  padding-top: 1.15em;
  border-top: 1px solid var(--color-border);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
}

.page-content__body h3 {
  margin-top: 2em;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.page-content__body ul,
.page-content__body ol {
  padding-left: 1.3em;
}

.page-content__body li + li {
  margin-top: 0.45em;
}

.page-content__body blockquote {
  margin-inline: 0;
  padding: 18px 0 18px 20px;
  border-left: 1px solid var(--color-border);
  color: var(--color-muted);
}

.page-content__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.page-content__body th,
.page-content__body td {
  padding: 12px 0;
  border-top: 1px solid rgba(36, 36, 36, 0.2);
  text-align: left;
  vertical-align: top;
}

.page-content__body th {
  font-weight: 600;
}

.page-content__body img {
  max-width: 100%;
  height: auto;
}

.page-content__body .wpcf7,
.page-content__body form {
  margin-top: 2em;
}

.page-content__body input,
.page-content__body textarea,
.page-content__body select {
  max-width: 100%;
}

.coreii-notes {
  min-width: 0;
  margin: 0 0 42px;
}

.coreii-notes__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.coreii-notes__subtitle {
  display: block;
  margin-bottom: 4px;
  color: rgba(36, 36, 36, 0.62);
  font-size: 11px;
  line-height: 1.3;
}

.coreii-notes__header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.coreii-notes__more {
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.coreii-notes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 28px 0 48px;
}

.coreii-notes--lane {
  width: calc(100vw - var(--editorial-gutter));
  margin-right: calc(50% - 50vw);
}

.coreii-notes--lane .coreii-notes-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding-bottom: 4px;
  scrollbar-width: none;
  overscroll-behavior-x: auto;
}

.coreii-notes--lane .coreii-notes-list::-webkit-scrollbar {
  display: none;
}

.coreii-notes--lane .coreii-notes-card {
  flex: 0 0 clamp(180px, 15vw, 230px);
  padding-top: 0;
  border-top: 0;
}

.coreii-notes--grid .coreii-notes-list {
  display: grid;
  grid-template-columns: repeat(var(--coreii-notes-columns, 3), minmax(0, 1fr));
  gap: 22px 12px;
  margin: 0;
}

.coreii-notes-card {
  min-width: 0;
  padding-top: 0;
}

.coreii-notes-card__image {
  margin-bottom: 14px;
}

.coreii-notes-card__category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

.coreii-notes-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.55em * 2);
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.coreii-notes-card__title a {
  color: inherit;
  text-decoration: none;
}

.coreii-notes-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.65em * 3);
  margin-bottom: 10px;
  color: rgba(36, 36, 36, 0.78);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.coreii-notes-card__date {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.coreii-notes-list__empty {
  grid-column: 1 / -1;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.notes-page,
.notes-all-page {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  margin-inline: auto;
  padding: 38px 0 64px;
}

.notes-page {
  padding-top: 30px;
  padding-bottom: 52px;
}

.notes-page__header,
.notes-all-page__header {
  display: grid;
  grid-template-columns: 42px minmax(160px, 220px) minmax(0, 420px);
  gap: 24px;
  align-items: start;
  justify-content: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.notes-page__header {
  padding-bottom: 14px;
}

.notes-page__back {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
}

.notes-page__eyebrow {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.notes-page__header h1,
.notes-all-page__header h1 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.notes-page__header p:last-child,
.notes-all-page__header p:last-child {
  grid-column: 3;
  grid-row: 1 / span 2;
  max-width: 390px;
  margin: 0;
  color: rgba(36, 36, 36, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.notes-all-page__header--simple {
  grid-template-columns: 42px minmax(280px, 520px);
}

.notes-all-page__header--simple h1 {
  max-width: none;
}

.notes-page__lanes {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.notes-page__lanes.entry-content {
  max-width: none;
}

.notes-page__lanes.entry-content > * {
  margin-bottom: 0.18em;
}

.notes-page__lanes.entry-content h2 {
  margin: 0 0 0.12em;
  font-size: 21px;
  line-height: 1.15;
}

.notes-page__lanes.entry-content h3 {
  margin: 0 0 0.08em;
  font-size: 16px;
  line-height: 1.22;
}

.notes-page__lanes.entry-content p {
  margin-bottom: 0.12em;
  line-height: 1.35;
}

.notes-page__lanes.entry-content .coreii-notes {
  margin-top: 0.2em;
  margin-bottom: 8px;
}

.notes-page__lanes.entry-content .coreii-notes + h2,
.notes-page__lanes.entry-content .coreii-notes + h3,
.notes-page__lanes.entry-content p + h2,
.notes-page__lanes.entry-content p + h3 {
  margin-top: 0.4em;
}

.notes-page__lanes .coreii-notes__header {
  align-items: baseline;
  width: min(760px, calc(100vw - (var(--editorial-gutter) * 2)));
  margin-bottom: 8px;
}

.notes-page__lanes .coreii-notes__subtitle {
  margin-bottom: 2px;
}

.notes-page__lanes .coreii-notes__header h2 {
  font-size: 22px;
  line-height: 1.08;
}

.notes-page__lanes .coreii-notes__more {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.3;
}

.notes-page__lanes .coreii-notes--lane .coreii-notes-list {
  gap: 14px;
  padding-bottom: 2px;
}

.notes-page__lanes .coreii-notes-card__image {
  margin-bottom: 6px;
}

.notes-page__lanes .coreii-notes-card__category {
  margin-bottom: 3px;
}

.notes-page__lanes .coreii-notes-card__title {
  min-height: calc(1.35em * 2);
  margin-bottom: 4px;
  line-height: 1.35;
}

.notes-page__lanes .coreii-notes-card__excerpt {
  min-height: calc(1.38em * 2);
  margin-bottom: 4px;
  line-height: 1.38;
  -webkit-line-clamp: 2;
}

.notes-page__lanes .coreii-notes-card__date {
  line-height: 1.25;
}

.notes-lane {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.notes-lane:first-child {
  padding-top: 0;
  border-top: 0;
}

.notes-lane__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.notes-lane__subtitle {
  display: block;
  margin-bottom: 4px;
  color: rgba(36, 36, 36, 0.62);
  font-size: 11px;
  line-height: 1.3;
}

.notes-lane__header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.notes-lane__track {
  display: flex;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  overscroll-behavior-x: auto;
  scrollbar-width: none;
}

.notes-lane__track::-webkit-scrollbar {
  display: none;
}

.notes-lane__track .small-post-card {
  flex: 0 0 clamp(180px, 15vw, 230px);
  min-width: 0;
}

.notes-lane__track .small-post-card__meta {
  flex-wrap: nowrap;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  line-height: 1.15;
  white-space: nowrap;
}

.notes-category-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: none;
}

.notes-category-nav::-webkit-scrollbar {
  display: none;
}

.notes-category-nav a {
  flex: 0 0 auto;
  padding: 0 18px;
  border-right: 1px solid var(--color-border);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.notes-category-nav a:first-child {
  padding-left: 0;
}

.notes-category-nav a:hover {
  color: var(--color-accent);
}

.notes-all-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 22px 12px;
  padding-top: 24px;
}

.notes-all-card {
  position: relative;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.notes-all-card__image {
  margin-bottom: 8px;
}

.notes-all-card__category {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

.notes-all-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.45em * 2);
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notes-all-card__title a {
  color: inherit;
  text-decoration: none;
}

.notes-all-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.55em * 2);
  margin: 0 0 8px;
  color: rgba(36, 36, 36, 0.76);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notes-all-card__meta {
  gap: 4px;
  font-size: 10px;
  line-height: 1.2;
}

.notes-all-page__content {
  padding-top: 24px;
}

.notes-all-page__content.entry-content {
  max-width: none;
}

.notes-all-page__content .notes-all-grid:first-child,
.notes-all-page__content .coreii-notes:first-child {
  padding-top: 0;
}

.notes-all-pagination {
  padding-top: 32px;
  margin-top: 38px;
  border-top: 1px solid var(--color-border);
}

.single-post__like {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding: 22px 0;
  margin-top: 34px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.single-post__like p {
  margin: 0;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.related-categories {
  max-width: 760px;
  padding-top: 32px;
  margin-top: 48px;
  border-top: 1px solid var(--color-line);
}

.single-sidebar-block {
  padding-top: 18px;
  margin-bottom: 28px;
  border-top: 1px solid var(--color-border);
}

.single-sidebar-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.single-sidebar-block h2 {
  margin-bottom: 14px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-post__info {
  margin: 0;
}

.single-post__info div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(36, 36, 36, 0.18);
}

.single-post__info div:first-child {
  border-top: 0;
}

.single-post__info dt,
.single-post__info dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.single-post__info dt {
  color: var(--color-muted);
  font-family: var(--font-serif);
  text-transform: uppercase;
}

.single-related-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.single-related-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(36, 36, 36, 0.18);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.single-related-list li:first-child {
  border-top: 0;
}

.single-article {
  padding-block: 42px 64px;
}

.single-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.single-back-button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.single-article__header {
  max-width: 780px;
  margin: 0 auto 30px;
}

.single-article__category {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.single-article__date {
  display: block;
  margin-bottom: 14px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.single-article__title {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.32;
}

.living-status {
  max-width: 680px;
  margin: 0 0 24px;
  padding: 13px 15px;
  border: 1px solid rgba(36, 36, 36, 0.18);
  border-left-width: 3px;
  border-radius: 4px;
  background: #fff;
}

.living-status--green {
  border-left-color: #4f8f5f;
}

.living-status--yellow {
  border-left-color: #c69236;
}

.living-status--red {
  border-left-color: #c96050;
}

.living-status__heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.living-status__eyebrow {
  margin: 0;
  color: rgba(36, 36, 36, 0.52);
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.living-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(36, 36, 36, 0.14);
  border-radius: 999px;
  background: #fff;
  color: rgba(36, 36, 36, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.living-status__dot {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-size: 10px;
  line-height: 1;
}

.living-status--green .living-status__dot {
  color: #4f8f5f;
}

.living-status--yellow .living-status__dot {
  color: #c69236;
}

.living-status--red .living-status__dot {
  color: #c96050;
}

.living-status__message {
  margin: 0 0 10px;
  color: rgba(36, 36, 36, 0.66);
  font-size: 12px;
  line-height: 1.6;
}

.living-status__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(36, 36, 36, 0.12);
}

.living-status__meta div {
  min-width: 0;
}

.living-status__meta dt {
  margin: 0 0 2px;
  color: rgba(36, 36, 36, 0.52);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.living-status__meta dd {
  margin: 0;
  color: rgba(36, 36, 36, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

.single-article__thumbnail {
  margin: 0;
  background: var(--color-placeholder);
}

.single-article__thumbnail img {
  width: 100%;
  height: auto;
}

.single-article__body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.92;
}

.single-article__body > * {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.single-article__body p {
  margin: 0 0 1.25em;
}

.single-article__body h2 {
  margin-top: 2em;
  padding-top: 0.9em;
  border-top: 1px solid var(--color-border);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.42;
}

.single-article__body h3 {
  margin-top: 1.7em;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.single-article__body ul,
.single-article__body ol {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
}

.single-article__body li + li {
  margin-top: 0.35em;
}

.single-article__body blockquote {
  margin-inline: 0;
  padding: 18px 0 18px 20px;
  border-left: 1px solid var(--color-border);
  color: var(--color-muted);
}

.single-article__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.single-article__body pre,
.single-article__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.single-article__body pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--color-border);
  background: var(--color-warm);
  font-size: 13px;
  line-height: 1.7;
}

.single-article__body img {
  max-width: 100%;
  height: auto;
}

.single-article__body figure {
  margin: 2em 0;
}

.single-article__body figcaption {
  margin-top: 8px;
  color: rgba(36, 36, 36, 0.56);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.single-article__body .wp-block-image img {
  border-radius: 4px;
}

.single-article__like {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.living-history {
  max-width: 720px;
  margin: 42px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
}

.living-history__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.living-history__body {
  padding: 15px 17px;
  border: 1px solid rgba(36, 36, 36, 0.14);
  border-radius: 4px;
  background: #fafafa;
  color: rgba(36, 36, 36, 0.82);
  font-size: 14px;
  line-height: 1.75;
}

.single-related {
  max-width: 860px;
  padding-top: 34px;
  margin: 56px auto 0;
  border-top: 1px solid var(--color-border);
}

.single-related h2 {
  margin-bottom: 22px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.single-related-card {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 36, 36, 0.28);
}

.single-related-card__category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.25;
}

.single-related-card h3 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.single-related-card time {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.resource-single {
  padding-block: 42px 72px;
}

.resource-single__back {
  margin-bottom: 22px;
}

.resource-single__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 36px;
  align-items: stretch;
  padding: 34px 0 38px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.resource-single__intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.resource-single__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 16px;
}

.resource-single__type {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.resource-single__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border: 1px solid rgba(228, 107, 85, 0.26);
  border-radius: 999px;
  background: rgba(228, 107, 85, 0.08);
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.resource-single__title {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.18;
}

.resource-single__catch {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.resource-single__description {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(36, 36, 36, 0.68);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  white-space: pre-line;
}

.resource-single__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(360px, 100%);
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #242424;
  border-radius: 999px;
  background: #242424;
  color: var(--color-paper);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.resource-single__button:hover,
.resource-single__button.is-copied {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-paper);
}

.resource-single__button.is-copy-error {
  border-color: rgba(36, 36, 36, 0.38);
  background: rgba(36, 36, 36, 0.72);
  color: var(--color-paper);
}

.resource-single__visual {
  display: flex;
  min-height: 300px;
  margin: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(36, 36, 36, 0.14);
  border-radius: 12px;
  background: #f2edf8;
}

.resource-single--tools .resource-single__visual {
  background: #eaf5ee;
}

.resource-single--template .resource-single__visual {
  background: #f8f0d8;
}

.resource-single--checklist .resource-single__visual {
  background: #e7f0f8;
}

.resource-single--download .resource-single__visual {
  background: #f8e8e5;
}

.resource-single__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-single__visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(220px, 66%);
  aspect-ratio: 1;
  line-height: 1;
  font-size: 74px;
}

.resource-single__visual-icon--image {
  overflow: hidden;
}

.resource-single__visual-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resource-single-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.resource-single-info,
.resource-single-copy {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(36, 36, 36, 0.14);
  border-radius: 12px;
  background: var(--color-paper);
}

.resource-single-copy {
  grid-column: 1 / -1;
  padding: 22px;
  border-color: rgba(36, 36, 36, 0.16);
  border-radius: 14px;
  background: #fff;
}

.resource-single-info h2,
.resource-single-copy h2 {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.resource-single-info p {
  margin: 0;
  color: rgba(36, 36, 36, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.resource-single-copy__header {
  margin-bottom: 12px;
}

.resource-single-copy__header h2 {
  margin-bottom: 6px;
}

.resource-single-copy__header p {
  max-width: 640px;
  margin: 0;
  color: rgba(36, 36, 36, 0.58);
  font-size: 13px;
  line-height: 1.55;
}

.resource-single-copy pre {
  overflow-x: auto;
  max-height: 360px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 12px;
  background: rgba(36, 36, 36, 0.035);
  color: rgba(36, 36, 36, 0.82);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.resource-single-copy__action {
  margin-top: 14px;
}

.resource-single-copy__main-button {
  width: min(300px, 100%);
}

.resource-single-section {
  padding-top: 30px;
  margin-top: 42px;
  border-top: 1px solid var(--color-border);
}

.resource-single-section__header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.resource-single-section__header h2 {
  margin: 0;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.resource-single-section__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.resource-single-posts,
.resource-single-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-single-post-card {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 36, 36, 0.28);
}

.resource-single-post-card__thumbnail {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-placeholder);
}

.resource-single-post-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-single-post-card__category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.25;
}

.resource-single-post-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.55em * 2);
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-single-post-card time {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.resource-single-resource-card {
  flex-basis: auto;
  min-height: 244px;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-section {
  padding: 48px 0;
  background: var(--color-warm);
  border-top: 1px solid var(--color-border);
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--color-line);
  background: var(--color-line);
  color: var(--color-paper);
  font-weight: 600;
  cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-paper);
}

.button--ghost {
  background: transparent;
  color: var(--color-line);
}

.breadcrumb,
.post-meta,
.related-categories,
.category-links,
.pagination,
.nav-links,
.page-numbers,
.empty-state,
.search-form,
.search-field {
  max-width: 1120px;
}

@media (max-width: 1200px) {
  .hero__inner,
  .front-board,
  .category-notes__grid,
  .reason-grid,
  .post-grid,
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .single-post__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
  }

  .hero__copy {
    order: 2;
  }

  .hero__logo {
    grid-column: 1 / -1;
  }

  .front-board > * + * {
    border-left: 0;
    padding-left: 0;
  }

  .front-board__notes {
    width: 100%;
    max-width: none;
  }

  .front-board__notes .small-post-card {
    flex-basis: 200px;
  }

  .note-column {
    border-top: 1px solid var(--color-border);
    padding-top: 28px;
  }

  .notes-page__header,
  .notes-all-page__header {
    grid-template-columns: 42px minmax(150px, 220px) minmax(0, 380px);
  }

  .notes-all-page__header--simple {
    grid-template-columns: 42px minmax(260px, 520px);
  }

  .notes-all-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .coreii-notes--grid .coreii-notes-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .container,
  .site-container,
  .header-inner,
  .hero-inner,
  .titles-inner,
  .home-main-inner,
  .category-notes-inner,
  .newsletter-inner,
  .footer-inner,
  .section-line {
    width: min(1200px, calc(100% - 40px));
  }

  .site-header__inner {
    padding-block: 24px 22px;
  }

  .global-nav__list a {
    padding-inline: 10px;
  }

  .hero {
    padding: 18px 0 26px;
  }

  .hero__inner {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 24px;
  }

  .hero__copy {
    order: initial;
  }

  .hero__logo {
    grid-column: auto;
  }

  .hero__logo img {
    width: min(500px, 100%);
  }

  .titles-grid {
    width: min(620px, 100%);
  }

  .front-board {
    gap: 28px 24px;
    padding-bottom: 40px;
  }

  .front-board > *,
  .category-note,
  .reason-card,
  .mail-panel > *,
  .site-footer__inner > * {
    min-width: 0;
  }

  .front-board__featured {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border);
  }

  .front-board__notes {
    grid-column: 1 / -1;
    height: auto;
    max-height: none;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 20px;
  }

  .front-board__notes .note-column {
    overflow: visible;
  }

  .front-board__notes .small-post-card {
    flex-basis: clamp(180px, 26vw, 220px);
  }

  .front-board > * + * {
    padding-left: 0;
    border-left: 0;
  }

  .note-column {
    padding-top: 0;
    border-top: 0;
  }

  .front-board__notes .note-column + .note-column {
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
  }

  .latest-notes .note-column__list,
  .popular-notes .note-column__list,
  .recommended-notes .note-column__list {
    max-height: none;
  }

  .category-note h3 {
    font-size: 21px;
  }

  .reason-card__image {
    height: 190px;
  }

  .mail-panel {
    gap: 16px;
    padding: 44px 5%;
  }

  .mail-panel h2 {
    font-size: 21px;
  }

  .mail-form {
    grid-template-columns: minmax(0, 1fr) 170px;
  }

  .mail-form button {
    width: 170px;
    max-width: 170px;
    gap: 20px;
  }

  .site-footer__inner {
    gap: 16px;
  }

}

@media (min-width: 768px) and (max-width: 899px) {
  .global-nav__list a {
    padding-inline: 8px;
    font-size: 11px;
  }

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

  .category-notes__grid {
    gap: 18px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .reason-card,
  .reason-card:not(:first-child),
  .reason-card:not(:last-child) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .reason-card + .reason-card {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }

  .reason-card__image {
    height: 230px;
  }

  .mail-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mail-form {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .mail-form button {
    width: 180px;
    max-width: 180px;
  }

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

@media (min-width: 900px) and (max-width: 1279px) {
  .front-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-notes__grid {
    gap: 18px;
  }

  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reason-card:not(:last-child) {
    padding-right: 20px;
  }

  .reason-card:not(:first-child) {
    padding-left: 20px;
  }

  .mail-panel {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.25fr);
  }

  .site-footer__inner {
    grid-template-columns: 190px repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    background: var(--color-paper);
  }

  .site-header::before {
    content: none;
  }

  .site-canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background: var(--color-paper);
    transform: none;
    transition: transform 0.32s ease;
    will-change: auto;
  }

  body.is-mobile-menu-open .site-canvas {
    transform: translateX(-80vw);
    will-change: transform;
  }

  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .site-header__inner {
    align-items: center;
    min-height: 56px;
    padding-block: 10px;
    background: var(--color-paper);
  }

  .site-brand img {
    width: 96px;
  }

  .site-brand {
    background: var(--color-paper);
  }

  .menu-toggle {
    position: relative;
    z-index: 2100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--color-paper);
    transition: transform 0.32s ease;
    will-change: auto;
  }

  body.is-mobile-menu-open .menu-toggle {
    position: fixed;
    top: calc(var(--mobile-menu-scroll-y, 0px) + 11px);
    right: 14px;
    transform: translateX(80vw);
    will-change: transform;
  }

  body.is-mobile-menu-open .site-brand {
    position: fixed;
    top: calc(var(--mobile-menu-scroll-y, 0px) + 13px);
    left: 14px;
    z-index: 2100;
  }

  .menu-toggle__line,
  .menu-toggle__line::before,
  .menu-toggle__line::after {
    width: 16px;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .menu-toggle__line {
    position: relative;
  }

  .menu-toggle__line::before,
  .menu-toggle__line::after {
    position: absolute;
    top: 0;
    left: 0;
  }

  .menu-toggle__line::before {
    transform: translateY(-7px);
  }

  .menu-toggle__line::after {
    transform: translateY(7px);
  }

  body.is-mobile-menu-open .menu-toggle__line {
    background: transparent;
  }

  body.is-mobile-menu-open .menu-toggle__line::before {
    transform: translateY(0) rotate(45deg);
  }

  body.is-mobile-menu-open .menu-toggle__line::after {
    transform: translateY(0) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    display: block;
    width: 80vw;
    height: 100vh;
    height: 100dvh;
    padding: 72px 24px 34px;
    overflow-y: auto;
    border-left: 1px solid var(--color-border);
    background: var(--color-paper);
    visibility: hidden;
    transform: translateX(100%);
    transition: visibility 0s linear 0.32s;
    overscroll-behavior: contain;
  }

  .global-nav.is-open {
    visibility: visible;
    transform: translateX(100%);
    transition-delay: 0s;
  }

  body.is-mobile-menu-open .global-nav {
    top: var(--mobile-menu-scroll-y, 0px);
  }

  .mobile-drawer-overlay {
    position: fixed;
    inset: 0 80vw 0 0;
    z-index: 1990;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(0);
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
    will-change: auto;
  }

  body.is-mobile-menu-open .mobile-drawer-overlay {
    top: var(--mobile-menu-scroll-y, 0px);
    bottom: auto;
    height: 100dvh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(80vw);
    transition-delay: 0s;
    will-change: transform;
  }

  body.is-mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .global-nav__list {
    display: block;
    border-top: 0;
    border-left: 0;
  }

  .global-nav__list li {
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav__list a {
    border-right: 0;
    border-bottom: 0;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
  }

  .mobile-drawer-categories {
    display: block;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
  }

  .mobile-drawer-categories__title {
    margin: 0 0 12px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
  }

  .mobile-drawer-categories ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-drawer-categories li {
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-drawer-categories a {
    display: block;
    padding: 16px 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
  }

  .hero__inner,
  .front-board,
  .category-notes__grid,
  .reason-grid,
  .post-grid,
  .single-post__layout,
  .mail-panel,
  .mail-form,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 8px;
  }

  .hero__copy {
    max-width: none;
    padding-bottom: 0;
  }

  .single-article {
    padding-block: 28px 52px;
  }

  .single-back-button {
    width: 40px;
    height: 40px;
    margin-bottom: 22px;
  }

  .single-article__header {
    margin-bottom: 28px;
  }

  .single-article__category {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .single-article__title {
    margin-bottom: 22px;
    font-size: 27px;
    line-height: 1.36;
  }

  .living-status {
    max-width: none;
    margin-bottom: 22px;
    padding: 13px 14px;
  }

  .living-status__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .living-status__badge {
    font-size: 11px;
  }

  .living-status__meta {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .single-article__body {
    font-size: 16px;
    line-height: 1.9;
  }

  .single-article__body h2 {
    font-size: 20px;
  }

  .single-article__body h3 {
    font-size: 18px;
  }

  .living-history {
    max-width: none;
    margin-top: 34px;
    padding-top: 22px;
  }

  .living-history__body {
    padding: 14px 15px;
    font-size: 13px;
    line-height: 1.7;
  }

  .page-content {
    padding-block: 32px 56px;
  }

  .page-content__header {
    padding-bottom: 22px;
    margin-bottom: 28px;
  }

  .page-content .page-content__title {
    font-size: 30px;
    line-height: 1.35;
  }

  .page-content__thumbnail {
    margin-bottom: 30px;
  }

  .page-content__body {
    font-size: 16px;
    line-height: 1.85;
  }

  .page-content__body h2 {
    font-size: 21px;
  }

  .page-content__body h3 {
    font-size: 18px;
  }

  .page-content__body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .coreii-notes-list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 0 42px;
  }

  .coreii-notes {
    margin-bottom: 32px;
  }

  .coreii-notes__header {
    align-items: baseline;
    margin: 0 0 12px;
  }

  .coreii-notes--lane {
    width: 100%;
    margin-right: 0;
  }

  .coreii-notes--lane .coreii-notes-list,
  .coreii-notes--grid .coreii-notes-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
  }

  .coreii-notes--lane .coreii-notes-card {
    flex: none;
  }

  .coreii-notes-card {
    padding-top: 0;
  }

  .coreii-notes-card__image {
    margin-bottom: 12px;
  }

  .coreii-notes-card__title {
    min-height: 0;
    font-size: 15px;
  }

  .coreii-notes-card__excerpt {
    min-height: 0;
    font-size: 13px;
    line-height: 1.7;
  }

  .notes-page,
  .notes-all-page {
    width: min(100%, calc(100% - 32px));
    padding: 32px 0 52px;
  }

  .notes-page {
    padding: 28px 0 44px;
  }

  .notes-page__header,
  .notes-all-page__header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 22px;
  }

  .notes-page__header {
    padding-bottom: 16px;
  }

  .notes-page__back {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .notes-page__eyebrow,
  .notes-page__header h1,
  .notes-all-page__header h1 {
    grid-column: 2;
  }

  .notes-page__header h1,
  .notes-all-page__header h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  .notes-page__lanes {
    gap: 12px;
    padding-top: 16px;
  }

  .notes-page__lanes.entry-content h2 {
    margin-bottom: 0.18em;
    font-size: 21px;
  }

  .notes-page__lanes.entry-content h3 {
    margin-bottom: 0.12em;
  }

  .notes-page__lanes.entry-content .coreii-notes {
    margin-top: 0.25em;
    margin-bottom: 18px;
  }

  .notes-page__lanes .coreii-notes__header {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 10px;
  }

  .notes-page__lanes .coreii-notes__more {
    margin-left: auto;
  }

  .notes-lane {
    padding-top: 20px;
  }

  .notes-lane__header {
    align-items: baseline;
    margin-bottom: 16px;
  }

  .notes-lane__header h2 {
    font-size: 22px;
  }

  .notes-lane__track {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .notes-lane__track .small-post-card {
    flex: none;
  }

  .notes-lane__track .small-post-card + .small-post-card {
    padding-top: 24px;
    margin-top: 0;
  }

  .notes-category-nav {
    padding: 14px 0 20px;
  }

  .notes-category-nav a {
    padding-inline: 14px;
    font-size: 13px;
  }

  .notes-all-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 26px;
  }

  .notes-all-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    padding-top: 18px;
  }

  .notes-all-card__image,
  .notes-all-card__body {
    grid-column: 2;
  }

  .notes-all-card__image {
    display: none;
  }

  .notes-all-card__title {
    min-height: 0;
    font-size: 15px;
  }

  .notes-all-card__excerpt {
    min-height: 0;
    font-size: 13px;
  }

  .single-related {
    margin-top: 44px;
  }

  .single-related__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .titles-section {
    display: none;
  }

  .front-board {
    gap: 16px;
  }

  .front-board__notes {
    display: grid;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .front-board__notes .note-column {
    overflow: visible;
  }

  .front-board__notes .note-column + .note-column {
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
  }

  .latest-notes .note-column__list,
  .popular-notes .note-column__list,
  .recommended-notes .note-column__list {
    display: block;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
    padding-right: 0;
    overscroll-behavior: auto;
  }

  .note-column__advance {
    display: none;
  }

  .front-board__notes .small-post-card {
    flex: none;
  }

  .front-board__notes .small-post-card + .small-post-card {
    padding-top: 24px;
    margin-top: 0;
    border-top: 0;
  }

  .resource-lanes {
    width: min(100%, calc(100% - 32px));
    padding-bottom: 34px;
  }

  .living-reference-section {
    width: min(100%, calc(100% - 32px));
    padding: 28px 0 32px;
  }

  .living-reference-section__header {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .living-reference-section__title {
    font-size: 20px;
  }

  .living-reference-section__description {
    font-size: 12px;
  }

  .living-reference-section__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .living-reference-list {
    padding-top: 12px;
  }

  .living-reference-list__items,
  .living-reference-list--attention .living-reference-list__items {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .living-reference-card {
    min-height: 0;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(36, 36, 36, 0.16);
  }

  .living-reference-card + .living-reference-card {
    border-left: 0;
  }

  .living-reference-card:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .living-reference-card__meta {
    margin-top: 10px;
    padding-top: 0;
  }

  .resource-lanes__inner {
    gap: 14px;
  }

  .resource-lane {
    padding-top: 14px;
  }

  .resource-lane__header {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .resource-lane__header h2 {
    font-size: 20px;
  }

  .resource-lane__header p {
    font-size: 12px;
  }

  .resource-lane__track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .resource-lane__slider {
    display: block;
  }

  .resource-lane__arrow {
    display: none;
  }

  .resource-lane--slider .resource-lane__track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 4px;
    scroll-snap-type: x proximity;
  }

  .resource-lane--slider .resource-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .resource-lane__advance {
    display: none !important;
  }

  .resource-lane--prompt .resource-lane__track > * + *::before {
    display: none;
  }

  .resource-lane--today .resource-lane__track > * + *::before {
    display: none;
  }

  .resource-lane--today .resource-card {
    min-height: 0;
    padding: 14px;
  }

  .resource-lane--today .resource-card__icon {
    width: 52px;
    height: 52px;
  }

  .resource-lane--prompt .resource-intro-card,
  .resource-lane--prompt .resource-card {
    min-height: 0;
    padding: 14px;
  }

  .resource-lane--prompt .resource-card--with-thumbnail {
    min-height: 0;
    padding-top: 0;
  }

  .resource-lane--prompt .resource-card__icon {
    width: 52px;
    height: 52px;
  }

  .resource-intro-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .resource-intro-card__visual {
    min-height: 142px;
    margin: 0 -2px 14px;
  }

  .resource-intro-card__visual img {
    width: 92%;
    max-height: 158px;
  }

  .resource-intro-card__body h3 {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.42;
  }

  .resource-intro-card__body p {
    font-size: 12px;
    line-height: 1.62;
  }

  .resource-lane--prompt .resource-intro-card {
    padding: 14px;
  }

  .resource-lane--prompt .resource-intro-card__visual {
    min-height: 132px;
    margin-bottom: 12px;
  }

  .resource-lane--prompt .resource-intro-card__visual img {
    max-height: 148px;
  }

  .resource-lane--prompt .resource-intro-card__body h3 {
    font-size: 16px;
  }

  .resource-lane--prompt .resource-intro-card__body p {
    font-size: 12px;
  }

  .resource-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .featured-card,
  .post-card,
  .small-post-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 0;
  }

  .featured-card--empty {
    display: block;
  }

  .featured-card--empty::before {
    display: none;
  }

  .featured-card::before,
  .post-card::before,
  .small-post-card::before {
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 21px;
    width: 1px;
    background: rgba(36, 36, 36, 0.22);
    content: "";
  }

  .featured-card:last-child::before,
  .post-card:last-child::before,
  .small-post-card:last-child::before {
    display: none;
  }

  .mobile-timeline-avatar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--color-soft-bg);
  }

  .mobile-timeline-avatar img {
    display: block;
    width: 80%;
    height: 80%;
    margin: 10%;
    object-fit: contain;
  }

  .featured-card__body,
  .post-card__body,
  .small-post-card__body {
    min-width: 0;
  }

  .small-post-card__body {
    display: flex;
    flex-direction: column;
  }

  .featured-card .image-box,
  .post-card__image {
    margin-top: 12px;
  }

  .small-post-card__category {
    order: 1;
    margin-bottom: 8px;
  }

  .small-post-card__title {
    order: 2;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
  }

  .small-post-card__meta {
    order: 3;
    margin: 0 0 8px;
  }

  .small-post-card__excerpt {
    display: -webkit-box;
    order: 4;
    overflow: hidden;
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .small-post-card__thumbnail {
    display: none;
  }

  .small-post-card__image-slider {
    display: flex;
    order: 5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 10px;
    padding: 0 18% 6px 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .small-post-card__image-slider::-webkit-scrollbar {
    display: none;
  }

  .small-post-card__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 82%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-soft-bg);
    scroll-snap-align: start;
  }

  .small-post-card__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .small-post-card + .small-post-card {
    padding-top: 24px;
    margin-top: 0;
    border-top: 0;
  }

  .featured-card__body,
  .post-card__body,
  .small-post-card__body {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
  }

  .front-board__notes .small-post-card {
    min-height: 0;
    padding-bottom: 18px;
  }

  .front-board__notes .small-post-card__body {
    height: auto;
    min-height: 0;
  }

  .front-board__notes .small-post-card + .small-post-card {
    padding-top: 22px;
    border-top: 0;
  }

  .front-board__notes .small-post-card__title,
  .front-board__notes .small-post-card__excerpt,
  .front-board__notes .small-post-card__meta {
    min-height: 0;
  }

  .front-board__notes .small-post-card__meta,
  .coreii-notes-card__date,
  .article-meta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .coreii-notes--lane .coreii-notes-card,
  .coreii-notes--grid .coreii-notes-card {
    width: 100%;
    max-width: 100%;
  }

  .coreii-notes-card__image img,
  .coreii-notes-card__image .post-thumbnail,
  .coreii-notes-card__image .post-thumbnail-placeholder {
    width: 100%;
    max-width: 100%;
  }

  .post-card {
    margin-bottom: 0;
  }

  .post-card:last-child {
    padding-bottom: 0;
  }

  .category-notes {
    display: block;
    width: min(100%, calc(100% - 32px));
    padding: 36px 0 42px;
  }

  .category-notes__grid {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 28px;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 0;
  }

  .category-note,
  .category-note-card {
    flex: none;
    width: 100%;
  }

  .category-note:not(:last-child),
  .category-note-card:not(:last-child) {
    padding-right: 0;
    border-right: 0;
  }

  .category-note h3 {
    font-size: 22px;
  }

  .single-post__header {
    padding-bottom: 22px;
    margin-bottom: 28px;
  }

  .single-post__sidebar {
    position: static;
    padding-top: 28px;
    padding-left: 0;
    margin-top: 34px;
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .reason-card {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .reason-card + .reason-card {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }

  .mail-panel {
    padding: 42px 24px;
    border-radius: 8px;
  }

  .mail-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mail-form input,
  .mail-form button {
    width: 100%;
    max-width: none;
    min-height: 48px;
  }

  .mail-form input {
    border-radius: 8px;
  }

  .mail-form button {
    border-radius: 8px;
  }
}

@media (max-width: 899px) {
  .resource-single__hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .resource-single__visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .resource-single-posts,
  .resource-single-resources {
    grid-template-columns: 1fr;
  }

  .resource-single-details {
    grid-template-columns: 1fr;
  }

  .js .js-reveal,
  .js .js-reveal-heading,
  .js .js-reveal-content,
  .js .reveal--editorial,
  .js .reveal--footer,
  .js .hero.js-reveal,
  .js .hero.js-reveal .hero__copy,
  .js .hero.js-reveal .hero__logo,
  .js .titles-section.js-reveal,
  .js .titles-section.js-reveal .js-reveal-heading,
  .js .titles-section.js-reveal .js-reveal-content,
  .js .front-board.js-reveal,
  .js .category-notes.js-reveal,
  .js .reason-section.js-reveal,
  .js .mail-section.js-reveal,
  .js .newsletter-section.js-reveal,
  .js .site-footer.js-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }
}

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

  .js .js-reveal,
  .js .js-reveal-heading,
  .js .js-reveal-content,
  .js .reveal--editorial,
  .js .reveal--footer,
  .js .hero.js-reveal .hero__copy,
  .js .hero.js-reveal .hero__logo,
  .js .titles-section.js-reveal .js-reveal-heading,
  .js .titles-section.js-reveal .js-reveal-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }
}
