.picture-main { padding-block: clamp(24px,4vw,54px) 5rem; }
.picture-main h1 { margin: 0 0 .45em; font: 400 clamp(2.3rem,5.5vw,4.8rem)/1.05 Georgia,serif; }
.picture-search { margin: 0 0 clamp(20px,2.4vw,32px); max-width: 36rem; }
.picture-search label { display: block; margin-bottom: .3rem; font-size: 1rem; color: #e8dfd0; }
.picture-search div { display: flex; }
.picture-search input { flex: 1; min-width: 0; border: 1px solid #847356; background: #191816; color: #fff8e8; }
.picture-search button { border: 1px solid #c6ab7b; background: #d6bd90; color: #18150f; cursor: pointer; }
.picture-search input,.picture-search button { padding: .6em .9em; min-height: 44px; border-radius: 0; font: inherit; }
.picture-search input::placeholder { color: #b9b2a6; }
.picture-sections { display: grid; gap: clamp(12px,2vw,30px); grid-template-columns: repeat(3,minmax(0,1fr)); }
.picture-section { display: flex; flex-direction: column; background: #1c1b18; border: 1px solid #423b30; color: #f1eade; text-decoration: none; }
.picture-section:hover,.picture-section:focus-visible { border-color: #c6ab7b; }
.picture-main :focus-visible { outline: 2px solid #f3c97e; outline-offset: 2px; }
.picture-frame { display: grid; place-items: center; background: #131310; aspect-ratio: 1.9; overflow: hidden; }
.picture-frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.picture-label { padding: clamp(12px,1.6vw,23px); }
.picture-label h2 { margin: 0; color: #f4e9d7; font: 400 clamp(1.2rem,2vw,1.85rem)/1.12 Georgia,serif; overflow-wrap: break-word; }
.picture-label p { margin: .5rem 0 0; font: 400 1rem/1.4 system-ui,sans-serif; color: #c9c1b3; }
@media (max-width: 820px) { .picture-sections { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .picture-main.wrap { width: calc(100% - 28px); }
  .picture-frame { aspect-ratio: 1.2; }
  .picture-label { padding: .65rem; }
  .picture-label h2 { font-size: 1.15rem; hyphens: auto; }
  .picture-label p { font-size: .9rem; }
}
@media (max-width: 340px) { .picture-sections { gap: 8px; } .picture-label { padding: .5rem; } }
