/* Local discovery only. Full-frame photos retain readable reuse credits. */
.discovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.hwf-homepage .home-discovery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discovery-slot { min-width: 0; display: flex; }
.discovery-slot[hidden], .discovery-actions button[hidden] { display: none; }
.discovery-card { min-width: 0; width: 100%; display: flex; flex-direction: column; background: #fffdf8; border: 1px solid #d4cfc2; border-radius: 12px; overflow: hidden; }
.discovery-card :is(.discovery-media, .local-guide-photo) { margin: 0; padding: 1rem 1rem 0; max-width: none; }
.discovery-card :is(.discovery-media, .local-guide-photo) img { display: block; width: 100%; height: 190px; object-fit: contain; border-radius: 7px; background: #e5e8e0; }
.discovery-card figcaption { margin: .5rem 0 0; font: .75rem/1.45 system-ui, sans-serif; color: var(--body); overflow-wrap: anywhere; }
.discovery-card .local-photo-credit { display: block; margin-top: .25rem; font: inherit; }
.discovery-media { display: block; text-decoration: none; border-radius: 8px; }
.discovery-media:hover img { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.discovery-credit { padding: .75rem 1.25rem 1rem; border-top: 1px solid var(--reading-line); color: var(--body); font: .75rem/1.5 system-ui,sans-serif; overflow-wrap: anywhere; }
.discovery-credit .local-photo-credit { margin-top: .2rem; }
.discovery-copy h3 { min-height: 2.6em; }
.discovery-credit a { color: inherit; text-underline-offset: .18em; }
@media (min-width: 761px) { .hwf-homepage .discovery-credit { min-height: 4.75rem; } }
.article-topic-back { display: flex; width: fit-content; align-items: center; gap: .5rem; min-height: 44px; margin-top: .75rem; font: 600 .95rem/1.5 system-ui,sans-serif; color: var(--teal-dark); }
.article-photo-credits { margin-block: 2rem 1rem; border-block: 1px solid var(--reading-line); scroll-margin-top: 1rem; font: .85rem/1.6 system-ui,sans-serif; }
.article-photo-credits summary { min-height: 44px; padding-block: .65rem; cursor: pointer; font-weight: 650; }
.article-photo-credits > div { padding: 0 .5rem 1rem; }
.article-photo-credits ul { padding-left: 1.2rem; }
.article-photo-credits li { margin-block: .85rem; }
.article-photo-credits li span { display: block; color: var(--body); margin-top: .25rem; }
.discovery-copy { padding: 1.15rem 1.25rem 1rem; display: flex; flex: 1; flex-direction: column; gap: .7rem; }
.discovery-copy > p { margin: 0; color: var(--body); font: 1rem/1.6 system-ui, sans-serif; }
.discovery-copy .discovery-meta { color: var(--teal-dark); font: 650 .75rem/1.5 system-ui, sans-serif; }
.discovery-copy h3 { margin: 0; font: 700 1.3rem/1.3 system-ui, sans-serif; letter-spacing: -.015em; }
.discovery-copy h3 a { color: var(--ink); text-decoration: none; }
.discovery-copy h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.discovery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-top: auto; padding-top: .45rem; }
.discovery-actions > a, .discovery-actions > button { display: inline-flex; align-items: center; min-height: 44px; font: 650 .9rem/1.4 system-ui, sans-serif; color: var(--teal-dark); text-underline-offset: .2em; }
.discovery-actions > button { padding: .4rem .65rem; background: transparent; border: 1px solid #a3b0a4; border-radius: 6px; cursor: pointer; }
.discovery-actions > a span { margin-left: .4rem; }
.discovery-share-status { flex-basis: 100%; font: .85rem/1.5 system-ui, sans-serif; color: var(--body); overflow-wrap: anywhere; }
.discovery-share-status:empty { display: none; }
.discovery-share-status input { display: block; width: 100%; min-width: 0; padding: .5rem; color: inherit; background: transparent; border: 1px solid currentColor; }
.discovery-card :is(a,button,input):focus-visible, .guide-topics a:focus-visible { outline: 3px solid #b67b25; outline-offset: 4px; }
.hwf-local-guide-page .guide-hero { padding-block: 1.75rem; gap: 2rem; }
.hwf-local-guide-page .guide-map-card { height: 210px; min-height: 210px; box-shadow: none; }
.hwf-local-guide-page .guide-map-card .map-house { width: 68px; left: calc(50% - 34px); }
.guide-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.guide-topics a { min-height: 44px; display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .8rem; border: 1px solid #a3b0a4; border-radius: 7px; font: 600 .9rem/1.4 system-ui, sans-serif; color: var(--ink); text-decoration: none; }
.guide-topics a:hover { background: #e5f1ea; }
.hwf-local-guide-page .guide-stories { padding-top: 1rem; }
.discovery-section { margin-bottom: 3rem; scroll-margin-top: 1.5rem; }
.discovery-section h2 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; }
.discovery-section > p { margin: 0; max-width: 65ch; color: var(--body); }
html[data-hwf-theme="dark"] .discovery-card { background: var(--reading-surface); border-color: var(--reading-line); }
html[data-hwf-theme="dark"] .discovery-card img { background: #32362e; }
html[data-hwf-theme="dark"] .discovery-copy h3 a { color: var(--ink); }
html[data-hwf-theme="dark"] :is(.discovery-meta,.discovery-actions > a,.discovery-actions > button) { color: var(--teal-dark); }
html[data-hwf-theme="dark"] .guide-topics a { color: var(--ink); border-color: var(--reading-line); }
html[data-hwf-theme="dark"] .guide-topics a:hover { background: var(--reading-surface); }
@media (max-width: 760px) {
  .hwf-homepage .home-discovery-grid, .discovery-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .discovery-card :is(.discovery-media, .local-guide-photo) img { height: 185px; }
  .discovery-copy { padding: 1rem; }
  .discovery-copy h3 { min-height: 0; }
  .discovery-credit { padding-inline: 1rem; }
  .hwf-local-guide-page .guide-hero { padding-block: 1.5rem 1rem; }
  .guide-topics { gap: .4rem; }
  .guide-topics a { font-size: .85rem; padding-inline: .65rem; }
}
