/* v3.3.36: scoped directory consolidation and native content visibility. */
.p400v336-directory{background:#f8f5f0;min-height:75vh;padding-bottom:70px}
.p400v336-home,.p400v336-page-body{max-width:1240px;margin:0 auto;padding:24px clamp(18px,4vw,45px)}
.p400v336-home *,.p400v336-content *{box-sizing:border-box}
.p400v336-welcome{max-width:820px;padding:20px 0 35px}
.p400v336-overline,.p400v336-card-kicker{display:block;color:#7f3939;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800}
.p400v336-welcome h2{font:normal clamp(32px,4vw,55px)/1.13 Georgia,'Times New Roman',serif;color:#531d20;margin:13px 0 20px}
.p400v336-welcome p,.p400v336-group-header p{font-size:16px;line-height:1.6;color:#665b56}
.p400v336-group{margin:23px 0 42px}
.p400v336-group-header{border-bottom:1px solid #e2d7ce;margin-bottom:19px;padding-bottom:14px}
.p400v336-group h2{font:normal clamp(25px,3vw,34px)/1.2 Georgia,'Times New Roman',serif;color:#531d20;margin:8px 0}
.p400v336-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.p400v336-card{background:#fff;border:1px solid #e8ded7;border-radius:13px;padding:26px;min-height:188px;display:flex;flex-direction:column;gap:9px;text-decoration:none!important;box-shadow:0 10px 24px rgba(53,31,27,.035);transition:transform .2s,border-color .2s}
.p400v336-card:hover{transform:translateY(-3px);border-color:#ba8a82}
.p400v336-card:focus-visible{outline:3px solid #97664a;outline-offset:3px}
.p400v336-card h3{color:#531d20;font:normal clamp(20px,2vw,25px)/1.2 Georgia,'Times New Roman',serif;margin:0}
.p400v336-card p{font-size:14px;line-height:1.6;color:#66615e;margin:0}
.p400v336-open{font-size:12px;font-weight:800;color:#692428;margin-top:auto;display:inline-block}
.p400v336-content .p400v335-page{max-width:1220px}
.p400v336-content .p400v336-page-body{padding-top:30px}
@media(max-width:820px){.p400v336-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.p400v336-card-grid{grid-template-columns:1fr}.p400v336-card{min-height:0}.p400v336-directory{padding-bottom:30px}}
/* Portrait/gallery minimum heights must not force a wider mobile grid column. */
@media(max-width:720px){
  .p400v335-page .p400v335-visit-art,.p400v335-page .p400v335-media-col{min-width:0;max-width:100%}
  .p400v335-page .p400v335-visit-art>.p400v335-photo{min-width:0;max-width:100%;width:100%;min-height:250px;aspect-ratio:auto}
}
@media(max-width:520px){
  .p400v335-page .p400v335-gallery{grid-template-columns:1fr}
  .p400v335-page .p400v335-gallery>div:first-child{grid-column:auto}
  .p400v335-page .p400v335-gallery .p400v335-photo{aspect-ratio:4/3;min-height:210px}
}
/* Prevent fractional-pixel mobile gallery rounding from creating side scroll. */
.p400v336-content{overflow-x:clip}
