/* Homepage editorial previews; detail presentation stays shared with the directory. */
body[data-page="home"] #homeFeature.home-person-feature-host { min-height: 0; align-self: center; background: #fffdf7; border-color: #deded1; box-shadow: 0 12px 32px #1834230c; }
body[data-page="home"] #homeFeature .home-person-feature { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
body[data-page="home"] #homeFeature .home-person-photo { position: relative; height: clamp(230px, 24vw, 340px); overflow: hidden; background: #e8eee5; }
body[data-page="home"] #homeFeature .home-person-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; background: #e8eee5; }
body[data-page="home"] #homeFeature .home-person-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; column-gap: 16px; padding: 20px 24px 22px; }
body[data-page="home"] #homeFeature .home-person-meta { grid-column: 1 / -1; }
body[data-page="home"] #homeFeature h2 { margin: 6px 0 4px; font-size: clamp(23px,2vw,28px); line-height: 1.35; }
body[data-page="home"] #homeFeature .home-person-owner { grid-column: 2; grid-row: 2; align-self: center; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 6px 0 4px; }
body[data-page="home"] #homeFeature .home-person-summary { grid-column: 1 / -1; margin-top: 8px; }
body[data-page="home"] #homeFeature .home-person-read { grid-column: 1 / -1; margin-top: 14px; }
body[data-page="home"] #homeStallPreview.home-person-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-person-card { display: flex; flex-direction: column; min-width: 0; height: 100%; border: 1px solid #dce2d7; border-radius: 14px; overflow: hidden; color: #192a20; background: #fffdf7; text-decoration: none; box-shadow: 0 6px 22px #18342306; transition: border-color .18s ease, box-shadow .18s ease; }
.home-person-card:hover { border-color: #88a58e; box-shadow: 0 10px 28px #18342312; }
.home-person-card .home-person-photo { aspect-ratio: 3 / 2; overflow: hidden; background: #e8eee5; }
.home-person-card .home-person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-person-card .home-person-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 18px 20px 20px; }
.home-person-meta { margin: 0; color: #607366; font-size: 12px; line-height: 1.5; }
.home-person-copy h2,.home-person-copy h3 { color: #193b2b; overflow-wrap: anywhere; }
.home-person-card h3 { margin: 8px 0 5px; font-size: 21px; line-height: 1.45; }
.home-person-owner { margin: 0; color: #52705a; font-size: 12px; line-height: 1.6; }
.home-person-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 12px 0 0; color: #59695e; font-size: 13px; line-height: 1.8; }
.home-person-read { display: inline-flex; align-items: center; gap: 7px; padding-top: 14px; color: #086044; font-size: 12px; font-weight: 750; line-height: 1.6; }
.home-person-card .home-person-read { margin-top: auto; }
.home-person-card:hover .home-person-read,.home-person-feature:hover .home-person-read { color: #d84a35; }
.home-person-card:focus-visible,.home-person-feature:focus-visible { outline: 3px solid #0a6247; outline-offset: -4px; }
.home-stall-no-photo { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; gap: 12px; padding: 20px; color: #55775f; text-align: center; font-size: 12px; }
.home-stall-no-photo > i { font-size: 38px; }
.home-stall-fallback { grid-column: 1 / -1; display: grid; justify-items: start; align-content: center; gap: 10px; min-height: 200px; padding: 26px; border: 1px solid #deded1; border-radius: 14px; background: #f5f3e9; }
.home-stall-fallback.is-featured { min-height: 360px; border: 0; border-radius: 0; }
.home-stall-fallback > i { font-size: 30px; color: #0a6247; }
.home-stall-fallback h2,.home-stall-fallback h3 { margin: 0; color: #213d2c; font-size: 23px; line-height: 1.4; }
.home-stall-fallback p { margin: 0; color: #637366; font-size: 14px; line-height: 1.8; }
.home-stall-fallback > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.home-stall-fallback .button { min-height: 42px; font-size: 13px; }
.home-stall-introduce { padding: 10px 0; color: #096448; font-size: 13px; text-underline-offset: 4px; }
.home-stall-dialog-body { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bbc6b8 transparent; }
.home-stall-dialog-tools { display: flex; align-items: center; gap: 8px; }
.home-stall-share { min-height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #086044; font: inherit; font-size: 12px; cursor: pointer; }
.home-stall-share:hover { background: #edf1e9; }
.home-stall-share-status { flex: none; margin: 0; padding: 8px 24px; border-bottom: 1px solid #e9e6dc; color: #42684f; font-size: 12px; }
.home-stall-share-status:empty { display: none; }
.home-stall-real-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; margin: 0 36px 32px; padding: 22px 0 0; border-top: 1px solid #e5e4d9; }
.home-stall-real-actions-copy { min-width: 0; }
.home-stall-real-actions-kicker { margin: 0 0 5px; color: #d84a35; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.home-stall-real-actions h3 { margin: 0; color: #203b2b; font-size: 18px; line-height: 1.45; }
.home-stall-real-actions-copy > p:not(.home-stall-real-actions-kicker) { margin: 7px 0 0; color: #647166; font-size: 13px; line-height: 1.75; }
.home-stall-follow-area { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.home-stall-follow { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #0b6545; border-radius: 999px; padding: 7px 13px; background: #fffdf7; color: #07573a; font: inherit; font-size: 12px; font-weight: 850; line-height: 1.2; text-decoration: none; cursor: pointer; }
.home-stall-follow:hover { border-color: #06492f; background: #e7f3ea; }
.home-stall-follow.is-following { border-color: #d8ded2; background: #edf3ed; color: #355844; }
.home-stall-follow:disabled { cursor: wait; opacity: .7; }
.home-stall-follow-status { flex: 1 1 190px; margin: 0; color: #627066; font-size: 12px; line-height: 1.6; }
.home-stall-follow-retry { margin-left: 7px; border: 0; padding: 0; color: #086044; background: transparent; font: inherit; font-size: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.home-stall-storefront { min-width: 0; }
@media (max-width: 1000px) {
  body[data-page="home"] #homeStallPreview.home-person-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  body[data-page="home"] #homeFeature .home-person-photo { height: clamp(250px,42vw,350px); }
}
@media (max-width: 600px) {
  body[data-page="home"] #homeStallPreview.home-person-grid { grid-template-columns: minmax(0,1fr); }
  body[data-page="home"] #homeFeature .home-person-photo { height: clamp(220px,62vw,320px); }
  body[data-page="home"] #homeFeature .home-person-copy { display: flex; flex-direction: column; padding: 17px 18px 20px; }
  body[data-page="home"] #homeFeature .home-person-owner { align-self: flex-start; margin: 0; }
  .home-person-card .home-person-copy { padding: 16px 18px 18px; }
  .home-stall-fallback { padding: 22px 18px; }
  .home-stall-fallback.is-featured { min-height: 300px; }
  .home-stall-dialog-tools { gap: 2px; }
  .home-stall-real-actions { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px; margin: 0 22px 24px; padding-top: 18px; }
  .home-stall-storefront { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .home-person-card { transition: none; } }
