/* Shared public components. Themes may override colors and typography. */
.panha-home-album-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;width:100%;max-width:100%;box-sizing:border-box}
.panha-home-album-cards .panha-album-card{min-width:0;overflow:hidden;border:1px solid var(--line,#ded9cf);background:var(--white,#fff);color:inherit;box-sizing:border-box}
.panha-album-card-image{position:relative;display:block;overflow:hidden;min-height:80px;background:var(--paper,#f5f3ed)}
.panha-album-card-image .panha-public-image{display:block;width:100%;height:auto;aspect-ratio:1.6!important;object-fit:cover}
.panha-album-photo-count{position:absolute;right:12px;bottom:12px;background:#fffdf2ed;color:#423321;font:12px/1.5 sans-serif;padding:5px 12px}
.panha-album-card-copy{padding:22px}.panha-album-card-copy h3{font-size:24px;line-height:1.4;margin:0 0 15px}.panha-album-card-copy a{color:inherit;text-decoration:none}
.panha-album-open{display:inline-flex;align-items:center;gap:18px;min-height:44px;font-size:13px;border-bottom:1px solid currentColor}
.panha-public-gallery{display:block;column-count:2;column-gap:24px;width:100%;max-width:100%}
.panha-public-gallery .panha-album-photo-item{display:block;break-inside:avoid;margin:0 0 26px;padding:0;width:100%}
.panha-public-gallery .panha-album-photo-link{display:block;position:relative;overflow:hidden;line-height:0;background:transparent;cursor:zoom-in}
.panha-public-gallery .panha-public-image{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;margin:0;transform:none}
.panha-album-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;background:#fffdf2ed;color:#423321;font:20px/1 sans-serif}
.panha-public-gallery figcaption{font-size:13px;line-height:1.65;margin:10px 0 0;overflow-wrap:anywhere}
@media(max-width:900px){.panha-home-album-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.panha-home-album-cards{grid-template-columns:1fr}.panha-public-gallery{column-count:1}.panha-album-card-copy{padding:20px}}
@media(prefers-reduced-motion:reduce){.panha-album-card,.panha-public-image{transition:none!important;animation:none!important}}
