
.eam-dsa-gallery{--gold:#d4af37;--gold2:#f0d57a;color:#fff;background:linear-gradient(180deg,#060909,#020303)}
.eam-dsa-gallery *{box-sizing:border-box}
.eam-dsa-gallery-shell{max-width:1500px;margin:auto;padding:64px clamp(18px,3vw,44px) 80px}
.eam-dsa-gallery-head{display:flex;justify-content:space-between;gap:28px;margin-bottom:34px}
.eam-dsa-gallery-head>div:first-child{max-width:830px}
.eam-dsa-kicker{color:var(--gold);font-size:11px;font-weight:900;letter-spacing:.2em}
.eam-dsa-gallery-head h1{font:700 clamp(38px,5.4vw,72px)/1 Georgia;margin:0 0 14px}
.eam-dsa-gallery-head p{color:#ccc}
.eam-dsa-lang{display:flex;gap:7px}
.eam-dsa-lang button{height:40px;padding:0 15px;border:1px solid var(--gold);border-radius:999px;background:#070909;color:#fff;font-weight:900}
.eam-dsa-lang button.active{background:var(--gold);color:#170000}
.eam-dsa-controls{display:grid;grid-template-columns:1.7fr .7fr .7fr;gap:12px;padding:18px;border:1px solid #d4af3740;border-radius:18px;background:#080b0c}
.eam-dsa-controls input,.eam-dsa-controls select{height:52px;border:1px solid #d4af3770;border-radius:11px;background:#040606;color:#fff;padding:0 16px}
.eam-dsa-count{color:#aaa;font-size:12px;font-weight:800;margin:18px 0}
.eam-dsa-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.eam-dsa-card{overflow:hidden;border:1px solid #d4af3755;border-radius:18px;background:linear-gradient(#101414,#070909);cursor:pointer;transition:.25s}
.eam-dsa-card:hover{transform:translateY(-5px);border-color:var(--gold)}
.eam-dsa-card-image{height:270px;position:relative;background:#111}
.eam-dsa-card-image img{width:100%;height:100%;object-fit:cover}
.eam-dsa-badge{position:absolute;left:14px;top:14px;padding:6px 10px;border:1px solid #d4af37aa;border-radius:999px;background:#000d;color:var(--gold2);font-size:8px;font-weight:900}
.eam-dsa-noimage{height:100%;display:grid;place-content:center;text-align:center;color:var(--gold)}
.eam-dsa-card-copy{padding:20px}
.eam-dsa-id{display:inline-flex;padding:5px 9px;border:1px solid #d4af3755;border-radius:999px;color:var(--gold);font-size:8px;font-weight:900}
.eam-dsa-card h2{font:700 24px/1.15 Georgia;margin:12px 0 5px}
.eam-dsa-period{color:var(--gold2);font-size:11px}
.eam-dsa-card p{color:#bbb;line-height:1.6;font-size:13px}
.eam-dsa-card button{border:0;background:none;color:var(--gold);font-weight:900}
.eam-dsa-empty{text-align:center;padding:55px;border:1px dashed #d4af3744}

/* v1.0.2 museum-object viewer refinement
   Restores a larger image while keeping the complete modal inside the viewport. */
.eam-dsa-modal{
 width:min(1180px,calc(100vw - 42px));
 height:auto;
 max-height:calc(100vh - 64px);
 margin:auto;
 padding:0;
 border:1px solid var(--gold);
 border-radius:22px;
 background:linear-gradient(180deg,#0b0d0d,#050707);
 color:#fff;
 box-shadow:0 30px 100px #000;
 overflow:auto;
 overscroll-behavior:contain
}
.eam-dsa-modal::backdrop{background:#000e}
.eam-dsa-close{
 position:sticky;
 float:right;
 right:16px;
 top:16px;
 z-index:20;
 width:42px;
 height:42px;
 margin:16px 16px -58px 0;
 border:1px solid var(--gold);
 border-radius:50%;
 background:#b51a35;
 color:#fff;
 font-size:22px;
 line-height:1;
 cursor:pointer
}
.eam-dsa-modal-grid{
 display:grid;
 grid-template-columns:minmax(380px,47%) minmax(0,53%);
 min-height:560px
}
.eam-dsa-modal-image{
 background:#050606;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:12px;
 border-right:1px solid #d4af3738;
 min-width:0
}
.eam-dsa-modal-image img{
 display:block;
 width:100%;
 height:100%;
 max-height:calc(100vh - 90px);
 object-fit:contain;
 object-position:center;
 border-radius:10px
}
.eam-dsa-modal-copy{
 padding:36px 38px 34px;
 align-self:start;
 min-width:0
}
.eam-dsa-modal-copy .eam-dsa-id{margin-bottom:9px}
.eam-dsa-modal-copy h2{
 font:700 clamp(29px,3vw,43px)/1.07 Georgia;
 margin:4px 54px 8px 0;
 letter-spacing:-.015em
}
.eam-dsa-alt{
 color:var(--gold2);
 font:italic 16px/1.35 Georgia;
 margin:0 0 12px
}
.eam-dsa-summary{
 color:#e0e0e0;
 line-height:1.55;
 font-size:14px;
 margin:0 0 16px;
 max-width:720px
}
.eam-dsa-meta{
 margin-top:6px;
 border-top:1px solid #d4af3738
}
.eam-dsa-meta-row{
 display:grid;
 grid-template-columns:155px minmax(0,1fr);
 gap:12px;
 padding:8px 0;
 border-bottom:1px solid #ffffff12
}
.eam-dsa-meta-row strong{
 color:var(--gold);
 font-size:9px;
 letter-spacing:.05em;
 text-transform:uppercase
}
.eam-dsa-meta-row span{
 color:#e2e2e2;
 font-size:12px;
 line-height:1.4
}

@media(max-width:980px){
 .eam-dsa-grid{grid-template-columns:repeat(2,1fr)}
 .eam-dsa-modal{
  width:min(1040px,calc(100vw - 30px));
  max-height:calc(100vh - 44px)
 }
 .eam-dsa-modal-grid{grid-template-columns:45% 55%}
 .eam-dsa-modal-copy{padding:30px 26px}
 .eam-dsa-modal-copy h2{font-size:34px}
}
@media(max-width:760px){
 .eam-dsa-gallery-head{display:block}
 .eam-dsa-lang{margin-top:18px}
 .eam-dsa-controls,.eam-dsa-grid{grid-template-columns:1fr}
 .eam-dsa-card-image{height:245px}
 .eam-dsa-modal{
  width:calc(100vw - 20px);
  max-height:calc(100vh - 28px);
  border-radius:17px
 }
 .eam-dsa-modal-grid{grid-template-columns:1fr;min-height:0}
 .eam-dsa-modal-image{
  min-height:260px;
  max-height:390px;
  padding:10px;
  border-right:0;
  border-bottom:1px solid #d4af3738
 }
 .eam-dsa-modal-image img{
  width:100%;
  height:auto;
  max-height:370px;
  object-fit:contain
 }
 .eam-dsa-modal-copy{padding:24px 18px 28px}
 .eam-dsa-modal-copy h2{margin-right:42px;font-size:30px}
 .eam-dsa-summary{font-size:14px}
 .eam-dsa-meta-row{grid-template-columns:1fr;gap:3px}
}

/* v1.0.3: full exhibit-content localization is handled by gallery.js; visual architecture remains v1.0.2. */

/* v1.0.6 — language selector inside museum-object viewer */
.eam-dsa-modal-copy{position:relative}
.eam-dsa-modal-lang{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:0 52px 14px 0;min-height:34px}
.eam-dsa-modal-lang button{min-width:42px;height:32px;padding:0 10px;border:1px solid rgba(212,175,55,.72);border-radius:999px;background:#070909;color:#fff;font-size:10px;font-weight:900;line-height:1;cursor:pointer;transition:.2s ease}
.eam-dsa-modal-lang button:hover{border-color:var(--gold);color:var(--gold2)}
.eam-dsa-modal-lang button.active{background:var(--gold);color:#160000;border-color:var(--gold)}
@media(max-width:760px){.eam-dsa-modal-lang{justify-content:flex-start;margin:0 48px 12px 0}.eam-dsa-modal-lang button{min-width:40px;height:30px}}
