/* v2.4.6 — Classic theme, design parity with the new layout while keeping the neutral palette */
html[data-site-theme="classic"],
html[data-site-theme="classic"] body,
html[data-site-theme="classic"] button,
html[data-site-theme="classic"] input,
html[data-site-theme="classic"] textarea,
html[data-site-theme="classic"] select{
  font-family:"Plus Jakarta Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* Keep the classic black / grey / green palette, only modernise spacing and presentation. */
html[data-site-theme="classic"] body{background:var(--bg);color:var(--ink)}
html[data-site-theme="classic"] .site-header{background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(18px)}
html[data-site-theme="classic"] .brand-wordmark{font-size:0;line-height:0;gap:0}
html[data-site-theme="classic"] .brand-logo-full{display:block;width:205px;height:auto;max-height:52px;object-fit:contain}
html[data-site-theme="classic"] .footer-brand .brand-logo-full{width:182px}

/* Archive: 12 entries per page are handled in PHP; photographs always fill the frame. */
html[data-site-theme="classic"] .plate-grid{gap:18px}
html[data-site-theme="classic"] .photo-link,
html[data-site-theme="classic"] .photo-link.is-portrait{aspect-ratio:4/3;background:var(--soft)}
html[data-site-theme="classic"] .photo-link:before{display:none}
html[data-site-theme="classic"] .photo-link img,
html[data-site-theme="classic"] .photo-link.is-portrait img{
  width:100%;height:100%;object-fit:cover;object-position:center 52%;transform:none!important
}
html[data-site-theme="classic"] .card:hover .photo-link img{transform:scale(1.025)!important}
html[data-site-theme="classic"] .card-plate-text{font-size:16px;font-weight:800;letter-spacing:.055em}

/* Detail: the plate stays plain text; the photo becomes the main visual element. */
html[data-site-theme="classic"] .detail{grid-template-columns:minmax(0,1.72fr) minmax(300px,.58fr);gap:28px}
html[data-site-theme="classic"] .detail-photo{
  aspect-ratio:4/3;min-height:0;max-height:720px;background:var(--soft);border-radius:24px
}
html[data-site-theme="classic"] .detail-image{
  width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 52%
}
html[data-site-theme="classic"] .detail-side{padding:26px;border-radius:22px}
html[data-site-theme="classic"] .detail-title{
  margin:20px 0 8px;font-size:clamp(34px,3.5vw,54px);line-height:.98;letter-spacing:-.055em;font-weight:800
}
html[data-site-theme="classic"] .detail-lead{margin-top:12px}
html[data-site-theme="classic"] .meta-list{margin-top:20px}
html[data-site-theme="classic"] .meta-list>div{padding:11px 0}

/* Comments: conversations in a two-column grid, replies grouped inside a thread. */
html[data-site-theme="classic"] .comments{width:min(1180px,calc(100% - 40px));padding-bottom:110px}
html[data-site-theme="classic"] .comments .section-heading{margin-bottom:20px}
html[data-site-theme="classic"] .comment-form{padding:20px;border-radius:20px;margin-bottom:22px}
html[data-site-theme="classic"] .comment-thread-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
html[data-site-theme="classic"] .comment-thread{
  background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 10px 30px rgba(10,15,20,.035)
}
html[data-site-theme="classic"] .comment{margin-left:0;padding:0;border:0;display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px}
html[data-site-theme="classic"] .comment-avatar{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--ink);font-size:12px;font-weight:800
}
html[data-site-theme="classic"] .comment-content{min-width:0}
html[data-site-theme="classic"] .comment-meta{align-items:baseline}
html[data-site-theme="classic"] .comment-meta strong{font-size:12px}
html[data-site-theme="classic"] .comment p{margin:8px 0 10px;font-size:13px;line-height:1.65;color:var(--muted)}
html[data-site-theme="classic"] .reply-link{color:var(--ink);border-bottom-color:color-mix(in srgb,var(--ink) 28%,transparent)}
html[data-site-theme="classic"] .thread-replies{display:grid;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
html[data-site-theme="classic"] .comment-reply{grid-template-columns:30px minmax(0,1fr);padding-left:calc((var(--depth) - 1) * 12px)}
html[data-site-theme="classic"] .comment-reply .comment-avatar{width:30px;height:30px;font-size:10px;background:var(--soft-2);color:var(--muted)}
html[data-site-theme="classic"] .no-comments{grid-column:1/-1;padding:28px;border:1px dashed var(--line);border-radius:18px;text-align:center;background:var(--paper)}

@media(max-width:900px){
  html[data-site-theme="classic"] .detail{grid-template-columns:1fr}
  html[data-site-theme="classic"] .detail-photo{aspect-ratio:4/3;max-height:none}
  html[data-site-theme="classic"] .comment-thread-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  html[data-site-theme="classic"] .brand-logo-full{width:154px}
  html[data-site-theme="classic"] .detail-photo{aspect-ratio:1/1}
  html[data-site-theme="classic"] .comments{width:min(100% - 24px,1180px)}
}
