/* /archive index and article pages */
.yr { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 48px; padding: 28px 0 8px; border-top: 2px solid var(--ink); }
.yr[hidden] { display: none; }
.yr__label { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; position: sticky; top: 92px; align-self: start; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li[hidden] { display: none; }
.row { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.rows li:first-child .row { padding-top: 4px; }
.rows li:last-child .row { border-bottom: none; }
.row:hover .row__title { color: var(--accent); }
.row__img { flex: none; width: 96px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--card); border: 1px solid var(--rule); padding: 6px; }
.row__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row__title { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.row__sub { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 66ch; }
.row__meta { font-size: 13px; font-weight: 700; color: var(--soft); }
@media (max-width: 719px) {
  .yr { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
  .yr__label { position: static; }
  .row__title { font-size: 18px; }
  .row__img { width: 72px; height: 48px; }
}

/* article */
.art { max-width: var(--read); margin: 0 auto; padding: 40px 0 0; }
.art__back { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; text-decoration: none; }
.art__meta { margin: 24px 0 12px; }
.art__title { margin: 0 0 32px; font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.art__body p, .art__body li { margin: 0; font-size: 19px; line-height: 1.6; }
.art__body p + p { margin-top: 18px; }
.art__body h2 { margin: 40px 0 14px; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.art__body figure { margin: 28px 0; border-radius: 14px; overflow: hidden; background: #E6E0D4; }
.art__body figure img { width: 100%; }
.art__body figcaption { padding: 10px 14px; font-size: 13px; line-height: 1.45; color: var(--muted); background: var(--card); }
.art__body .article__hero { margin: 0 0 32px; }
.art__body .archive-logo { background: var(--card); border: 1px solid var(--rule); padding: 20px; display: flex; justify-content: center; }
.art__body .archive-logo img { width: auto; max-height: 120px; }
.art__body .archive-note { margin-bottom: 24px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.art__aside { margin: 32px 0 0; font-weight: 700; }
.art__aside a { display: inline-flex; align-items: center; min-height: 44px; }
.art__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.art__nav a { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--rule); text-decoration: none; font-weight: 700; line-height: 1.3; }
.art__next { text-align: right; }
@media (max-width: 560px) { .art__nav { grid-template-columns: 1fr; } .art__next { text-align: left; } .art__body p, .art__body li { font-size: 18px; } }

/* search, posts and media */
.tools { display: flex; flex-direction: column; gap: 12px; }
.search input { width: 100%; max-width: 520px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 400 16px/1 var(--font); }
.search input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.count { margin: 0 0 12px; font-size: 14px; color: var(--soft); min-height: 1em; }
details.posts { margin-top: 4px; }
details.posts[hidden] { display: none; }
details.posts > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
details.posts > summary::-webkit-details-marker { display: none; }
details.posts > summary::before { content: '+'; width: 14px; font-size: 18px; line-height: 1; color: var(--accent); }
details.posts[open] > summary::before { content: '–'; }
.rows--posts { margin-top: 4px; }
.row--post { align-items: center; padding: 12px 0; gap: 14px; }
.rows--posts li:first-child .row { padding-top: 12px; }
.row--post .row__title { font-size: 17px; font-weight: 600; }
.row__thumb { flex: none; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #E6E0D4; }
.art__body blockquote { margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--accent); font-size: 21px; line-height: 1.45; }
.art__body ul, .art__body ol { margin: 18px 0; padding-left: 24px; }
.art__body li + li { margin-top: 8px; }
.art__body a { text-underline-offset: 3px; }
.art__video a { position: relative; display: block; }
.art__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(20,20,20,0.75); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.art__card { display: flex; flex-direction: column; gap: 6px; margin: 24px 0; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--rule); text-decoration: none; }
.art__card b { font-size: 18px; line-height: 1.3; }
.art--post .art__title { font-size: clamp(28px, 4vw, 40px); }
