
:root{--wine:#510015;--silver:#e4dfe1}*{box-sizing:border-box}body{margin:0;background:#fff;color:#272025;font-family:Georgia,serif}a{color:inherit;text-decoration:none}header img{display:block;width:100%;max-height:310px;object-fit:cover}nav{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;padding:25px 12px;border-bottom:1px solid #eee;font-size:13px;letter-spacing:1px;text-transform:uppercase}nav a:hover{color:#8a1433}main{max-width:1170px;margin:auto;padding:35px 22px}.hero{position:relative;min-height:330px;background:center/cover url("images/inaugural.jpeg");display:flex;align-items:end;justify-content:flex-end;padding:35px}.visit{border:1px solid #eee;background:#fff;color:var(--wine);padding:13px 35px;letter-spacing:2px;font:15px Georgia}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:55px auto}.tile{aspect-ratio:1;border:1px solid var(--wine);display:flex;flex-direction:column;justify-content:end;background:#fafafa;overflow:hidden}.tile .bar{background:var(--wine);color:var(--silver);padding:16px 10px;text-align:center;letter-spacing:1px}.tile small{display:block;font-size:12px;letter-spacing:0;margin-top:8px;color:#e8e2e5}.about{text-align:center;padding:35px 10px 55px;max-width:750px;margin:auto;line-height:1.8}.smalltiles{display:grid;grid-template-columns:repeat(2,minmax(0,320px));justify-content:center;gap:25px;margin:0 auto 75px}footer{background:var(--wine);color:var(--silver);padding:45px 6%;display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}footer a{margin-right:18px}h1,h2{font-weight:normal}input,textarea,select,button{padding:10px;border:1px solid #aaa;font:inherit;max-width:100%}label{display:block;margin:15px 0}button{cursor:pointer;background:var(--wine);color:white}.panel{max-width:850px;margin:auto}.item{border-bottom:1px solid #ddd;padding:18px 0}.muted{color:#666;font-size:14px}.artwork img{max-width:100%;max-height:75vh;object-fit:contain}@media(max-width:700px){.tiles{grid-template-columns:1fr 1fr;gap:12px}.smalltiles{gap:12px}.hero{min-height:230px;padding:15px}nav{gap:12px;font-size:11px}.tile .bar{font-size:12px;padding:10px 5px}footer{display:block}header img{max-height:180px}}

.site-header{background:#47000d}.site-header a{display:block}.site-header img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.main-nav{max-width:1260px;margin:auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(10px,1.7vw,25px);padding:23px 12px;border-bottom:1px solid #eee;font-size:12px;letter-spacing:.6px;text-transform:uppercase}
.social-group{display:flex;gap:16px;align-items:center}.social{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;cursor:pointer}.social svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}.social[aria-label="TikTok"] svg{fill:currentColor;stroke:none}
.hero{max-width:1440px;margin:0 auto;min-height:clamp(260px,34vw,490px);display:flex;align-items:end;justify-content:space-between;gap:20px;padding:clamp(20px,4vw,55px);background-position:center;background-size:cover}
.hero-copy{color:white;text-shadow:0 1px 12px #240009;max-width:70%}.hero-copy h1{font-size:clamp(25px,3vw,42px);margin:8px 0 0;font-weight:normal}.hero-copy span{letter-spacing:2px;font-size:12px}.visit{margin-left:auto;flex-shrink:0}
main{max-width:1140px}.tiles{gap:28px;margin:60px auto}.tile{border:1px solid #5b071e}.tile .bar{background:#510015;color:#e9e1e4}.tile small{color:#eee4e7}.smalltiles{grid-template-columns:repeat(2,minmax(0,285px));gap:30px}
.site-footer{background:#510015;color:#e9e1e4;display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:42px max(5%,calc((100% - 1140px)/2)) 22px}.footer-left{display:flex;flex-direction:column;align-items:flex-start;gap:18px}.footer-logo{display:block;width:220px;max-width:100%;height:auto}.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:15px 25px;font-size:14px}.footer-bottom{grid-column:1/-1;border-top:1px solid #ffffff45;padding-top:18px;font-size:12px}
.page-title{text-align:center;margin:20px 0 55px}.exhibition-columns{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:35px auto 70px}.exhibition-columns>section{padding:0 42px}.exhibition-columns>section:first-child{border-right:1px solid #c5a9b2}.exhibition-columns h2,.exhibition-columns .item{text-align:center}
@media(max-width:700px){.site-footer{grid-template-columns:1fr;padding:30px 25px}.footer-bottom{grid-column:1}.exhibition-columns>section{padding:0 12px}.hero{min-height:230px}.hero-copy{max-width:60%}.smalltiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* V3: fixed exhibition artwork behind scrolling, independently editable overlay */
.hero{
  position:relative;
  isolation:isolate;
  min-height:clamp(410px,68vh,780px);
  background-image:none !important;
  background:transparent !important;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:clamp(25px,5vw,75px);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:var(--exhibition-image, url("images/inaugural.jpeg"));
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(0deg,rgba(22,8,12,.54),transparent 55%);
  pointer-events:none;
}
.hero-copy{max-width:min(72%,750px);min-height:1px}
.hero-copy h1:empty,.hero-copy span:empty{display:none}
.hero .visit{align-self:flex-end;margin-left:auto;position:relative;z-index:1}
@media(max-width:700px){
  .hero{min-height:460px;padding:22px;gap:12px}
  .hero::before{background-attachment:scroll}
  .hero-copy{max-width:65%}
}
@media(prefers-reduced-motion:reduce){.hero::before{background-attachment:scroll}}

/* V4 — separately layered silver mark on original burgundy banner */
.site-header{background:#47000d url("images/burgundy-banner.jpeg") center center / cover no-repeat;}
.site-header a{min-height:clamp(146px,16vw,208px);display:flex;align-items:center;justify-content:center;padding:13px 20px;}
.site-header img{display:block;width:auto;max-width:min(460px,80vw);height:clamp(122px,14vw,180px);max-height:none;object-fit:contain;}
.site-footer .footer-logo{width:155px;max-width:100%;height:auto;object-fit:contain;}
@media(max-width:700px){.site-header a{min-height:140px;padding:12px}.site-header img{height:116px;max-width:80vw}.site-footer .footer-logo{width:145px}}

/* Header image replacement only */
.site-header{background:none;}
.site-header a{display:block;min-height:0;padding:0;}
.site-header img{display:block;width:100%;max-width:none;height:auto;max-height:none;object-fit:contain;}
@media(max-width:700px){.site-header a{min-height:0;padding:0}.site-header img{width:100%;height:auto;max-width:none}}

/* Banner 3100x941: show the complete image, with no cropping or distortion */
.site-header{background:none!important;}
.site-header a{display:block!important;padding:0!important;min-height:0!important;}
.site-header img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain!important;}

/* Compact header: preserve the complete logo without deforming it. */
.site-header { background: #47000d url("images/header-new.png") center center / cover no-repeat !important; }
.site-header a { display:block !important; padding:0 !important; min-height:0 !important; }
.site-header img { display:block !important; width:100% !important; height:clamp(130px,15vw,210px) !important; max-height:210px !important; object-fit:contain !important; object-position:center !important; }
@media(max-width:700px) { .site-header img { height:clamp(100px,22vw,150px) !important; } }

/* Full-width header: image as background; the complete central logo remains within the visible area. */
.site-header { background: #47000d url("images/header-background.jpg") center center / cover no-repeat !important; }
.site-header a { display:block !important; height:clamp(120px,10.7vw,210px) !important; min-height:0 !important; padding:0 !important; }
.site-header img { display:none !important; }
@media(max-width:700px) { .site-header a { height:120px !important; } }

/* FINAL: one continuous image, no second background, no crop */
.site-header{background:none!important;}
.site-header a{display:block!important;height:auto!important;min-height:0!important;padding:0!important;}
.site-header img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;max-width:none!important;object-fit:fill!important;}

/* Footer medallion: transparent elliptical crop, preserve aspect ratio. */
.site-footer .footer-logo{display:block;width:175px;max-width:100%;height:auto;object-fit:contain;border-radius:0;}
@media(max-width:700px){.site-footer .footer-logo{width:155px;}}

/* Footer: independent, larger non-clickable logo centered over social icons. */
.site-footer .footer-left{align-items:center;}
.site-footer .footer-logo{width:263px;max-width:100%;height:auto;}
.site-footer .footer-left>.social-group{justify-content:center;}
@media(max-width:700px){.site-footer .footer-logo{width:232px;}}

/* Footer: left-aligned, legible original logo; social links on its right. */
.site-footer .footer-left{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:18px;min-width:0;}
.site-footer .footer-logo{display:block;width:310px;max-width:100%;height:auto;flex-shrink:1;object-fit:contain;}
.site-footer .footer-left>.social-group{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-shrink:0;}
@media(max-width:850px){.site-footer .footer-left{flex-wrap:wrap;gap:12px 18px}.site-footer .footer-logo{width:280px;}}
@media(max-width:700px){.site-footer .footer-left{justify-content:flex-start;gap:12px}.site-footer .footer-logo{width:245px;max-width:calc(100% - 80px)}.site-footer .footer-left>.social-group{gap:10px}}

/* Balanced footer: original logo at left, one social icon above each link column. */
.site-footer{grid-template-columns:minmax(230px,0.85fr) minmax(0,1.4fr);column-gap:clamp(32px,5vw,85px);align-items:center;}
.site-footer .footer-left{display:flex;align-items:center;justify-content:flex-start;min-width:0;}
.site-footer .footer-logo{width:270px;max-width:100%;height:auto;}
.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,4vw,65px);align-items:start;font-size:clamp(16px,1.3vw,19px);line-height:1.35;}
.site-footer .footer-link-column{display:flex;flex-direction:column;align-items:flex-start;gap:22px;}
.site-footer .footer-link-column>a{margin:0;}
.site-footer .footer-social{height:30px;display:flex;align-items:center;margin-bottom:4px;}
.site-footer .footer-social .social{width:30px;height:30px;margin:0;}
.site-footer .footer-social .social svg{width:25px;height:25px;}
@media(max-width:700px){.site-footer{grid-template-columns:1fr;gap:28px;align-items:start;}.site-footer .footer-logo{width:245px;max-width:100%;}.site-footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;font-size:16px;}.site-footer .footer-link-column{gap:18px;}}

/* Footer alignment: independent logo, vertical social icons, balanced links. */
.site-footer{grid-template-columns:minmax(220px,1fr) minmax(42px,.24fr) minmax(0,1.7fr);column-gap:clamp(24px,3vw,52px);align-items:center;}
.site-footer .footer-logo{width:270px;max-width:100%;height:auto;}
.site-footer .footer-social-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:27px;}
.site-footer .footer-social-stack .social{display:flex;width:34px;height:34px;align-items:center;justify-content:center;margin:0;}
.site-footer .footer-social-stack .social svg{width:27px;height:27px;}
.site-footer .footer-links{gap:clamp(25px,3.5vw,65px);}
.site-footer .footer-link-column{gap:22px;}
@media(max-width:700px){
 .site-footer{grid-template-columns:minmax(0,1fr) 45px;gap:20px;align-items:center;}
 .site-footer .footer-logo{width:245px;}
 .site-footer .footer-social-stack{grid-column:2;grid-row:1;gap:22px;}
 .site-footer .footer-links{grid-column:1/-1;grid-row:2;}
}

/* Exhibition banner spans the viewport, independently of the header image. */
.hero{max-width:none;width:100%;}

/* Larger, balanced homepage cards; both rows share the same card dimensions. */
@media (min-width: 701px){
 main:has(.tiles){max-width:1340px;padding-left:26px;padding-right:26px;}
 .tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:55px auto;}
 .smalltiles{display:flex;justify-content:center;gap:22px;margin:0 auto 75px;}
 .smalltiles .tile{width:calc((100% - 44px)/3);flex:0 0 calc((100% - 44px)/3);}
}
.tiles .tile .bar,.smalltiles .tile .bar{font-size:clamp(16px,1.45vw,20px);padding:19px 12px;line-height:1.3;}
.tiles .tile small,.smalltiles .tile small{font-size:clamp(14px,1.1vw,16px);line-height:1.5;letter-spacing:.1px;margin-top:9px;}
@media(max-width:700px){
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .smalltiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .tiles .tile .bar,.smalltiles .tile .bar{font-size:clamp(13px,3vw,17px);padding:12px 6px;}
 .tiles .tile small,.smalltiles .tile small{font-size:clamp(12px,2.6vw,15px);line-height:1.35;}
}

/* Final adjustment: identical caption bars in the top row, including Open Call. */
.tiles .tile .bar{min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
/* Clearer, compact top navigation; no changes to tile or footer layout. */
.main-nav{max-width:940px;font-size:13px;font-weight:600;letter-spacing:.75px;gap:clamp(10px,1.35vw,20px);}
@media(max-width:700px){
 .tiles .tile .bar{min-height:112px;}
 .main-nav{max-width:100%;font-size:11.5px;font-weight:600;letter-spacing:.45px;gap:12px;}
}

/* Exhibitions: side-by-side layout comparison. Does not affect homepage cards. */
main:has(.exhibition-columns){max-width:1340px;padding-left:26px;padding-right:26px;}
.exhibition-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;align-items:start;margin:30px auto 70px;}
.exhibition-columns>section{padding:0;min-width:0;}
.exhibition-columns>section:first-child{border-right:0;}
.exhibition-columns h2{text-align:center;font-size:clamp(19px,1.8vw,25px);margin:0 0 25px;}
.exhibition-card{border:2px solid var(--wine);background:#fff;overflow:hidden;min-width:0;}
.exhibition-card-wide{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:2/1;}
.exhibition-card-image{min-width:0;min-height:0;padding:9px 0 9px 9px;}
.exhibition-card-image img{display:block;width:100%;height:100%;object-fit:cover;}
.exhibition-card-copy{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;padding:12px;min-width:0;}
.exhibition-card h3{font-weight:normal;font-size:clamp(15px,1.35vw,21px);line-height:1.2;margin:0;}
.exhibition-card p{font-size:clamp(12px,1vw,15px);line-height:1.4;margin:0;}
.exhibition-view-more{display:inline-block;background:var(--wine);color:#fff;padding:10px 18px;margin-top:8px;font-size:clamp(12px,1vw,15px);text-align:center;}
.exhibition-view-more:hover{background:#79132e;color:#fff;}
.exhibition-card-square{display:flex;flex-direction:column;aspect-ratio:1/1;max-width:100%;width:min(100%,360px);margin:0 auto;}
.exhibition-square-image{padding:10px;flex:1;min-height:0;}
.exhibition-square-image img{display:block;width:100%;height:100%;object-fit:cover;}
.exhibition-square-bar{background:var(--wine);color:var(--silver);text-align:center;padding:16px 8px;min-height:85px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;}
.exhibition-square-bar h3{font-size:clamp(15px,1.25vw,19px);}
.exhibition-square-bar p{font-size:clamp(12px,1vw,14px);}
.layout-preview-note{text-align:center;font-size:12px;color:#666;margin:0 0 12px;}
#individual .exhibition-card,#Group .exhibition-card{margin-bottom:22px;}
@media(max-width:850px){.exhibition-columns{gap:20px}.exhibition-card-wide{aspect-ratio:auto;min-height:210px}.exhibition-card-copy{padding:8px;gap:7px}.exhibition-card-image{padding:7px 0 7px 7px}.exhibition-view-more{padding:8px 10px;margin-top:4px}}
@media(max-width:600px){.exhibition-columns{grid-template-columns:1fr;gap:38px}.exhibition-card-wide{aspect-ratio:2/1;min-height:0}.exhibition-columns>section{padding:0}.exhibition-card-square{width:min(100%,360px)}}

/* Exhibition comparison refinement: preserve all other layouts. */
.exhibition-card-wide .exhibition-card-copy{justify-content:flex-start;align-items:stretch;text-align:center;padding:15px 12px 9px;gap:9px;}
.exhibition-card-wide .exhibition-card-copy h3{color:var(--wine);margin-top:8px;}
.exhibition-card-wide .exhibition-card-copy p{color:#333;}
.exhibition-card-wide .exhibition-view-more{display:block;align-self:stretch;margin-top:auto;margin-bottom:0;padding:10px 8px;line-height:1.15;letter-spacing:.5px;}
.exhibition-square-more{display:block;font-style:italic;font-weight:400;font-size:clamp(12px,1vw,14px);letter-spacing:.35px;opacity:.92;}
.exhibition-square-bar{gap:5px;padding:11px 8px;min-height:93px;}
@media(max-width:850px){.exhibition-card-wide .exhibition-card-copy{padding:9px 8px 7px;gap:5px}.exhibition-card-wide .exhibition-card-copy h3{margin-top:0}.exhibition-card-wide .exhibition-view-more{padding:8px 6px;}}

/* Exhibitions: one reusable horizontal card for both individual and group exhibitions. */
.exhibition-card-wide .exhibition-card-copy h3{font-weight:700;margin-top:clamp(20px,2.2vw,30px);overflow-wrap:anywhere;}
.exhibition-card-wide .exhibition-view-more{transform:translateY(-100%);}
/* Allow longer exhibition titles to wrap and push dates down without overlap. */
.exhibition-card-wide{aspect-ratio:2/1;min-height:230px;height:auto;}
.exhibition-card-wide .exhibition-card-copy{min-height:0;}
@media(max-width:850px){.exhibition-card-wide .exhibition-card-copy h3{margin-top:20px;}}
@media(max-width:600px){.exhibition-card-wide{min-height:210px;}}

/* Homepage tiles: restrained white breathing space for future artwork images. */
.tiles .tile,.smalltiles .tile{background:#fff;}
.tiles .tile .tile-media,.smalltiles .tile .tile-media{flex:1 1 auto;min-height:0;min-width:0;padding:9px;background:#fff;overflow:hidden;}
.tiles .tile .tile-media img,.smalltiles .tile .tile-media img{display:block;width:100%;height:100%;object-fit:cover;}
@media(max-width:700px){.tiles .tile .tile-media,.smalltiles .tile .tile-media{padding:7px;}}

.call-editor{margin-top:3rem;border-top:1px solid #bbb;padding-top:2rem}.call-editor label{display:block;margin:1rem 0}.call-editor input,.call-editor textarea{display:block;max-width:100%;width:540px;padding:.5rem}.call-card{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;border:2px solid #65152d;padding:12px;margin:1rem 0 2rem;text-decoration:none;color:inherit;align-items:center}.call-card img{width:100%;max-height:250px;object-fit:contain}.call-card h3{color:#65152d}.call-card span{display:inline-block;background:#65152d;color:white;padding:.6rem 2rem}.call-detail-cover{display:block;max-width:100%;max-height:500px;object-fit:contain;margin:1.5rem auto}.tile-media.call-cover{background-size:contain;background-repeat:no-repeat;background-position:center}@media(max-width:650px){.call-card{grid-template-columns:1fr}}

/* Artist index: three identical square tiles with white image margins. */
.artists-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:36px auto 70px}
.artist-tile{display:flex;flex-direction:column;min-width:0;aspect-ratio:1/1;border:2px solid var(--wine,#65152d);background:#fff;color:inherit;text-decoration:none}
.artist-tile-image{flex:1;min-height:0;padding:9px;overflow:hidden}
.artist-tile-image img{width:100%;height:100%;display:block;object-fit:contain}
.artist-tile-caption{background:var(--wine,#65152d);color:var(--silver,#eee);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:12px 8px;min-height:76px}
.artist-tile-caption strong{font-weight:600;font-size:clamp(14px,1.3vw,19px)}
.artist-tile-caption span{font-size:clamp(12px,1.1vw,16px)}
.artist-profile{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,34%);gap:32px;border:2px solid var(--wine,#65152d);padding:28px;margin:26px 0 32px;align-items:start}
.artist-profile-text{min-width:0}
.artist-profile h2{color:var(--wine,#65152d);margin:0 0 12px}
.artist-profile h2:not(:first-child){margin-top:28px}
.artist-paragraph{line-height:1.75;overflow-wrap:anywhere}
.artist-portrait{border:1px solid var(--wine,#65152d);padding:9px;background:white;aspect-ratio:20/21;min-height:0}
.artist-portrait img{width:100%;height:100%;object-fit:contain;display:block}
.artist-motto{font-style:italic;line-height:1.6;margin:0}
.artist-country{color:var(--wine,#65152d)}
.artist-editor{margin-top:3rem;border-top:1px solid #bbb;padding-top:2rem}
.artist-editor label{display:block;margin:1rem 0}
.artist-editor input:not([type=checkbox]),.artist-editor textarea{display:block;max-width:100%;width:540px;padding:.5rem}
@media(max-width:750px){.artists-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.artist-profile{grid-template-columns:1fr}.artist-portrait{grid-row:1;max-width:360px}}
@media(max-width:440px){.artists-grid{grid-template-columns:1fr}.artist-tile{max-width:400px;width:100%}}

/* Clearly marked structural previews, no invented artwork. */
.artist-demo-image,.artist-demo-portrait,.artist-home-demo{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f6f6f6;color:#777;letter-spacing:.12em;font-size:12px;border:1px solid #e5e5e5;text-align:center}
.artist-demo-portrait{min-height:260px}.artist-home-demo{height:auto}.demo-notice{font-size:13px;color:#755b63;font-style:italic}

/* Open Call cards use the approved exhibition-card layout. */
.call-image-placeholder{width:100%;height:100%;min-height:160px;display:flex;align-items:center;justify-content:center;background:#f6f6f6;color:#777;letter-spacing:.15em;font-size:clamp(14px,2vw,22px);text-align:center}

/* Open Calls: current card is 75% of the previous full-width layout.
   Archived cards use the same two-column sizing as Exhibitions. */
.call-current-wrap{width:75%;max-width:100%;margin:24px auto 54px;}
.call-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;align-items:start;margin:24px auto 65px;}
.call-archive-grid .exhibition-card-wide{width:100%;}
/* The complete call artwork is legible on its detail page, without cropping. */
.call-detail-cover{display:block;width:auto;max-width:min(100%,740px);max-height:650px;height:auto;object-fit:contain;margin:28px auto 34px;}
@media(max-width:750px){.call-current-wrap{width:100%}.call-archive-grid{gap:18px}}
@media(max-width:600px){.call-archive-grid{grid-template-columns:1fr;gap:24px}}

/* Open Call detail: restrained portrait poster and factual information side by side. */
.call-detail-top{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:clamp(22px,4vw,54px);align-items:start;margin:28px 0 38px}
.call-detail-poster{aspect-ratio:4/5;border:2px solid var(--wine,#65152d);padding:10px;background:#fff;max-width:440px;width:100%;box-sizing:border-box}
.call-detail-poster img{display:block;width:100%;height:100%;object-fit:contain}
.call-detail-poster-placeholder{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#f7f7f7;color:#777;letter-spacing:.12em;font-size:16px}
.call-detail-poster-placeholder small{font-size:11px;margin-top:12px}
.call-detail-facts h2{color:var(--wine,#65152d);font-weight:700;margin:0 0 22px}
.call-detail-facts dl{margin:0}.call-detail-facts dt{font-weight:700;color:var(--wine,#65152d);margin:16px 0 4px}.call-detail-facts dd{margin:0;line-height:1.55}
.call-detail-terms{border-top:1px solid #d4c9cd;padding:25px 0 20px}.call-detail-terms h2{color:var(--wine,#65152d)}
.call-detail-description{line-height:1.8;white-space:normal;overflow-wrap:anywhere}.call-preview-link{font-style:italic;color:#777}
@media(max-width:680px){.call-detail-top{grid-template-columns:1fr}.call-detail-poster{max-width:340px;margin:0 auto}}

.call-eligibility{margin-top:22px;line-height:1.65}.call-eligibility h3{color:#65152d;margin-bottom:8px}.call-eligibility p{margin-top:0}

.oc-section{margin:0 0 30px}.oc-section h2{color:var(--wine,#65152d);margin:0 0 14px}.oc-section h3{color:var(--wine,#65152d)}.oc-section p{line-height:1.8}.oc-section li{margin:.35rem 0}.oc-kind{font-weight:700;color:var(--wine,#65152d)}.oc-two-dates{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:14px 0}.oc-two-dates h3{font-size:1rem;color:var(--wine,#65152d);margin:8px 0}.oc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.call-editor select{padding:.55rem;min-width:240px}.call-editor button{margin:6px 8px 6px 0}.call-editor input[type=checkbox]{display:inline;width:auto}.call-editor label{max-width:100%}@media(max-width:650px){.oc-form-grid,.oc-two-dates{grid-template-columns:1fr}}

/* One editable banner caption adjacent to View */
.hero-copy{display:flex;align-items:center;justify-content:flex-end;flex:1;min-width:0}.hero-copy h1{font-size:clamp(15px,2vw,28px);margin:0 16px 0 0;text-align:right}.hero-copy #heroEyebrow{display:none}.admin-panel-section{margin:30px 0;padding:20px;border:1px solid #d8c5ca}.admin-panel-section input:not([type=checkbox]):not([type=file]),.admin-panel-section textarea{max-width:100%;box-sizing:border-box}.admin-panel-section h2{margin-top:0}

.admin-artwork-editor{border:1px solid #9c7582;padding:22px;margin:22px 0;background:#fff}.admin-artwork-editor[hidden]{display:none}.admin-artwork-editor label{display:block;margin:12px 0}.admin-artwork-editor input,.admin-artwork-editor textarea,.admin-artwork-editor select{max-width:100%}.admin-artwork-list{margin:12px 0 0 18px}.exhibition-artwork h3{margin:8px 0 3px}.artwork-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:8px}.artwork-links a{text-decoration:underline}

.exhibition-artwork h3{margin:12px 0 7px}.exhibition-artist-name{font-weight:700;font-size:1.1rem;margin:5px 0 2px}.exhibition-artist-country{font-size:.93rem;margin:0 0 12px}.exhibition-artwork .artwork-links{justify-content:center;align-items:center;margin-top:auto;padding-top:12px;gap:12px 20px}.artwork-detail{text-align:center;max-width:850px;margin:auto}.artwork-detail>img{max-width:100%;max-height:80vh;object-fit:contain}.artwork-description{text-align:left;white-space:normal;line-height:1.8;margin:25px auto}.artwork-detail a{text-decoration:underline}

/* Banner label exactly the same font size as Visit */
.hero-copy h1{font-size:15px;line-height:1.3;font-weight:normal;letter-spacing:2px}
.artwork-metadata{display:grid;grid-template-columns:max-content auto;justify-content:center;text-align:left;gap:8px 20px;margin:24px auto}.artwork-metadata dt{font-weight:700}.artwork-metadata dd{margin:0}

/* Gallery artwork scale: same source image on both views */




.artwork-detail>img{display:block;width:auto;height:auto;max-width:min(100%,460px);max-height:75vh;object-fit:contain;margin:20px auto}
.artwork-detail .artwork-description{text-align:center;max-width:720px;margin:26px auto;line-height:1.8}
.hero-copy h1{font-size:clamp(27px,3vw,43px);line-height:1.15;font-weight:normal;letter-spacing:1px}
@media(max-width:650px){.hero-copy h1{font-size:clamp(22px,5vw,32px)}}

/* Physical artwork dimensions govern image frame, not source pixel dimensions. */


.exhibition-artwork h3{font-size:calc(1.1rem + 2pt)}

/* Exhibition introduction and catalogue */
.curatorial-note{max-width:930px;margin:42px auto 35px;text-align:center;line-height:1.85}
.curatorial-note h2,.exhibition-artists h2{color:var(--wine)}
.exhibition-intro-row{display:grid;grid-template-columns:240px minmax(0,1fr);gap:50px;align-items:start;margin:42px 0 65px}
.catalog-square{width:205px;min-height:205px;border:1px solid var(--wine);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:28px;padding:18px;color:var(--wine);font-size:16px;letter-spacing:1px}
.catalog-actions{display:flex;gap:14px;justify-content:center}.catalog-actions a{text-decoration:underline;font-size:14px}
.catalog-empty{color:#777}.exhibition-artists h2{margin:0 0 18px}.artist-name-list{display:flex;flex-wrap:wrap;gap:12px 24px;line-height:1.5}




@media(max-width:650px){.exhibition-intro-row{grid-template-columns:1fr;gap:24px}}

/* Physical sizes: respect computed width AND height, do not stretch image. */


/* Final exhibition layout: fixed centimetre-to-pixel scale, dynamic rows.
   No grid column or max-height is allowed to resize individual works. */







/* Larger, consistently scaled artworks. Layout wraps instead of shrinking. */







/* Exhibition artworks: equal generous spacing and vertical centering. */




/* Artwork detail: same physical scale as exhibition, not a fixed 460px box. */
.artwork-detail{max-width:100%;width:100%;}
.artwork-detail>img{display:block;max-width:100%!important;max-height:none!important;object-fit:fill!important;margin:24px auto;}

/* Artwork detail: larger than exhibition thumbnails, preserve physical proportions. */
.artwork-detail>img{max-width:100%!important;max-height:none!important;object-fit:contain!important;height:auto;display:block;margin:24px auto;}

/* Artwork title and artist typography only; metadata stays unchanged. */
.exhibition-artwork h3,.artwork-detail h1{font-family:"Palatino Linotype","Book Antiqua","Noto Serif",Georgia,serif;font-weight:700;letter-spacing:.015em;line-height:1.25}
.exhibition-artwork h3{font-size:1.45rem;margin:14px 0 7px}
.artwork-detail h1{font-size:clamp(1.55rem,2.5vw,2rem);margin:18px auto 10px}
.exhibition-artwork .exhibition-artist-name,.artwork-detail .exhibition-artist-name{font-family:Optima,Candara,"Segoe UI","Noto Sans",sans-serif;font-size:1.13rem;font-weight:400;letter-spacing:.025em;line-height:1.4}
.artwork-detail .exhibition-artist-name{font-size:1.22rem}

/* Exhibition artwork captions: balanced, centered hierarchy. Detail-page typography unchanged. */
.exhibition-artwork h3{font-size:1.29rem!important;font-weight:700!important;line-height:1.32;margin:14px 0 5px!important;letter-spacing:.005em}
.exhibition-artwork .exhibition-artist-name{font-weight:700!important;font-size:1.10rem!important;line-height:1.4;margin:12px 0 3px!important;letter-spacing:.012em}
.exhibition-artwork .exhibition-artist-country{margin:0!important;font-size:.93rem}
.exhibition-artwork .artwork-view-link,.exhibition-artwork .artwork-meet-link{text-align:center;width:100%;line-height:1.45}
.exhibition-artwork .artwork-view-link{margin:0!important}
.exhibition-artwork .artwork-meet-link{margin:8px 0 0!important}
.exhibition-artwork .artwork-view-link a,.exhibition-artwork .artwork-meet-link a{text-decoration:underline}

/* Subtle, letter-spaced artwork action links on exhibition pages only. */
.exhibition-artwork .artwork-view-link a,
.exhibition-artwork .artwork-meet-link a{
  color:#666166;
  font-family:inherit;
  font-size:.93rem;
  font-weight:400;
  letter-spacing:.13em;
  text-decoration:none;
  transition:color .15s ease;
}
.exhibition-artwork .artwork-view-link a:hover,
.exhibition-artwork .artwork-meet-link a:hover{
  color:var(--wine);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Only individual exhibitions use the new visual styles. */

/* individual exhibitions: enlarged artwork-detail layout, no borders, generous separation. */
.individual-artworks{display:flex;flex-direction:column;align-items:center;gap:150px;margin:60px auto 90px}
.individual-artwork{width:100%;max-width:100%;text-align:center}
.individual-artwork>img{display:block;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important;margin:24px auto}
.individual-artwork .exhibition-artist-name{font-family:Optima,Candara,"Segoe UI","Noto Sans",sans-serif;font-weight:700!important;font-size:1.10rem!important;letter-spacing:.012em;line-height:1.4}
.individual-artwork .artwork-description{max-width:720px;margin:26px auto;line-height:1.8;text-align:center}
@media(max-width:650px){.individual-artworks{gap:100px;margin-top:42px}}

/* Subtle emphasis for the exhibition attribution beneath its title. */
#exhibition.individual-exhibition > .exhibition-heading-meta{font-size:1.065rem;line-height:1.65;}

/* Exhibition detail: centered museum-style title and attribution for both types. */
#exhibition.individual-exhibition > h1,
#exhibition.individual-exhibition > .exhibition-heading-meta {text-align:center; margin-left:auto; margin-right:auto;}
#exhibition.individual-exhibition > h1 {max-width:1000px;}
#exhibition.individual-exhibition > .exhibition-heading-meta {max-width:1000px;}

/* Exhibition heading: title, attribution, dates in three distinct centered lines. */
#exhibition.individual-exhibition > h1{text-align:center}
#exhibition.individual-exhibition > .exhibition-heading-attribution{text-align:center;font-family:Optima,Candara,"Segoe UI","Noto Sans",sans-serif;font-size:1.22rem;font-weight:500;line-height:1.55;margin:9px auto 4px;color:#393338}
#exhibition.individual-exhibition > .exhibition-heading-dates{text-align:center;font-size:.96rem;line-height:1.5;color:#746d70;margin:0 auto 36px}
/* Two substantial, mirrored editorial panels. */
.exhibition-feature-panels{display:flex;flex-direction:column;gap:34px;margin:42px auto 60px;max-width:980px}
.exhibition-feature-panel{display:grid;grid-template-columns:minmax(220px,43%) minmax(0,1fr);min-height:270px;border:1px solid #e3dadc;background:#fff}
.exhibition-feature-panel.artist-panel{grid-template-columns:minmax(0,1fr) minmax(220px,43%)}
.exhibition-panel-picture{min-height:270px;display:flex;align-items:center;justify-content:center;padding:12px;background:#faf8f8;overflow:hidden}
.exhibition-panel-picture img{display:block;width:100%;height:100%;max-height:370px;object-fit:contain}
.exhibition-panel-picture a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.exhibition-panel-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:28px 35px;min-width:0}
.exhibition-panel-content h2{font-family:"Palatino Linotype","Book Antiqua","Noto Serif",Georgia,serif;font-size:1.5rem;line-height:1.3;margin:0 0 8px;font-weight:700}
.exhibition-panel-type{font-size:1rem;color:#51484d;line-height:1.5;margin:0 0 15px}
.exhibition-panel-subtitle{font-size:1rem;color:#51484d;margin:0 0 18px}
.exhibition-panel-actions{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center}
.exhibition-panel-actions a{font-size:.88rem;letter-spacing:.07em;color:#665e63;text-decoration:none}
.exhibition-panel-actions a:hover{text-decoration:underline;color:var(--wine)}
.exhibition-panel-pending{font-size:.88rem;letter-spacing:.07em;color:#a59da0}
.exhibition-panel-artist{margin:4px 0 14px}
.exhibition-panel-artist strong{display:block;font-family:Optima,Candara,"Segoe UI","Noto Sans",sans-serif;font-size:1.12rem;margin-bottom:13px}
.exhibition-panel-placeholder{color:#a29a9d;font-size:.9rem}
@media(max-width:650px){.exhibition-feature-panels{gap:24px;margin-top:32px}.exhibition-feature-panel,.exhibition-feature-panel.artist-panel{display:flex;flex-direction:column;min-height:0}.exhibition-feature-panel.artist-panel{flex-direction:column-reverse}.exhibition-panel-picture{min-height:220px;height:270px}.exhibition-panel-content{padding:25px 23px}.exhibition-panel-content h2{font-size:1.35rem}#exhibition.individual-exhibition > .exhibition-heading-attribution{font-size:1.12rem}}

/* Consistent exhibition detail cards */
#exhibition.individual-exhibition .exhibition-feature-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1280px;margin:42px auto 60px;align-items:stretch}
#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{display:grid;grid-template-columns:42% minmax(0,1fr);min-height:260px;border:2px solid var(--wine);background:#fff}
#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{grid-template-columns:minmax(0,1fr) 42%}
#exhibition.individual-exhibition .exhibition-panel-picture{min-height:0;padding:8px;background:#fff;overflow:hidden}
#exhibition.individual-exhibition .exhibition-panel-picture img{width:100%;height:100%;max-height:none;object-fit:contain}
#exhibition.individual-exhibition .exhibition-panel-content{padding:16px 12px;justify-content:center;align-items:stretch;text-align:center}
#exhibition.individual-exhibition .exhibition-panel-content h2{color:var(--wine);font-size:clamp(1.05rem,1.5vw,1.35rem);margin:0 0 8px}
#exhibition.individual-exhibition .exhibition-panel-type{font-size:.85rem;margin:0 0 8px}
#exhibition.individual-exhibition .exhibition-panel-subtitle{font-size:.9rem;margin:0 0 12px}
#exhibition.individual-exhibition .exhibition-panel-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
#exhibition.individual-exhibition .exhibition-panel-actions a,#exhibition.individual-exhibition .exhibition-panel-pending{display:inline-block;background:var(--wine);color:#fff;padding:8px 11px;font-size:.8rem;line-height:1.2;letter-spacing:.02em;text-decoration:none;text-align:center}
#exhibition.individual-exhibition .exhibition-panel-actions a:hover{background:#79132e;color:#fff;text-decoration:none}
#exhibition.individual-exhibition .exhibition-panel-pending{opacity:.48}
#exhibition.individual-exhibition .exhibition-panel-artist{margin:0 0 8px}
#exhibition.individual-exhibition .exhibition-panel-artist strong{margin:0 0 12px}
@media(max-width:850px){#exhibition.individual-exhibition .exhibition-feature-panels{grid-template-columns:1fr;max-width:650px}#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{min-height:245px}}
@media(max-width:450px){#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{grid-template-columns:40% minmax(0,1fr);min-height:215px}#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{grid-template-columns:minmax(0,1fr) 40%}#exhibition.individual-exhibition .exhibition-panel-content{padding:10px 7px}#exhibition.individual-exhibition .exhibition-panel-actions a,#exhibition.individual-exhibition .exhibition-panel-pending{padding:7px 8px;font-size:.75rem}}

/* Consistent two-column exhibition cards: square images, burgundy controls. */
#exhibition.individual-exhibition .exhibition-feature-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;max-width:none;margin:42px auto 60px;align-items:stretch}
#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{display:grid;grid-template-columns:1fr 1fr;min-height:280px;border:2px solid var(--wine);overflow:hidden;background:#fff}
#exhibition.individual-exhibition .exhibition-panel-picture{display:block;position:relative;min-height:0;height:100%;padding:9px 0 9px 9px;background:#fff;overflow:hidden}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-picture{padding:9px 9px 9px 0}
#exhibition.individual-exhibition .exhibition-panel-picture>a{display:block;width:100%;height:100%}
#exhibition.individual-exhibition .exhibition-panel-picture img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center}
#exhibition.individual-exhibition .exhibition-panel-content{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:center;gap:5px;padding:14px 11px 12px;min-width:0}
#exhibition.individual-exhibition .exhibition-panel-content h2{color:var(--wine);font-size:clamp(1.05rem,1.55vw,1.4rem);font-weight:700;line-height:1.15;margin:2px 0 4px}
#exhibition.individual-exhibition .exhibition-panel-type{font-size:.78rem;line-height:1.3;margin:0}
#exhibition.individual-exhibition .exhibition-panel-subtitle{font-size:.82rem;line-height:1.3;margin:0 0 5px}
#exhibition.individual-exhibition .exhibition-panel-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:auto}
#exhibition.individual-exhibition .exhibition-panel-actions a,#exhibition.individual-exhibition .exhibition-panel-pending{display:inline-flex;align-items:center;justify-content:center;background:var(--wine);color:#fff;opacity:1;font-family:Georgia,serif;font-size:clamp(.7rem,.85vw,.83rem);line-height:1.18;letter-spacing:.025em;text-align:center;text-decoration:none;padding:9px 10px;min-height:33px;border:0}
#exhibition.individual-exhibition .exhibition-panel-actions a:hover{background:#79132e;color:#fff}
#exhibition.individual-exhibition .exhibition-panel-pending{cursor:default}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-content{justify-content:flex-start;padding-top:12px}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-content h2{font-size:clamp(1.3rem,2vw,1.75rem);margin:0 0 3px}
#exhibition.individual-exhibition .exhibition-panel-artist{margin:0;display:flex;flex-direction:column;flex:1;min-height:0}
#exhibition.individual-exhibition .exhibition-panel-artist strong{display:block;font-family:Optima,Candara,"Segoe UI","Noto Sans",sans-serif;font-size:clamp(1.05rem,1.55vw,1.4rem);font-weight:700;line-height:1.2;margin:0 0 8px;overflow-wrap:anywhere}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions{flex-direction:column;align-items:stretch;gap:5px;margin-top:0}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions a{display:block;width:100%;padding:7px 5px;min-height:0;font-size:clamp(.68rem,.78vw,.78rem)}
@media(max-width:900px){#exhibition.individual-exhibition .exhibition-feature-panels{gap:14px}#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{min-height:265px}#exhibition.individual-exhibition .exhibition-panel-content{padding:10px 7px}}
@media(max-width:700px){#exhibition.individual-exhibition .exhibition-feature-panels{grid-template-columns:1fr;max-width:550px;gap:24px}#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{min-height:260px}#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions a{font-size:.76rem}}
@media(max-width:400px){#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{min-height:235px}#exhibition.individual-exhibition .exhibition-panel-content{padding:9px 6px}#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions a{padding:6px 3px;font-size:.7rem}}

/* Final card refinement: the same burgundy visual language as exhibition listings. */
#exhibition.individual-exhibition .exhibition-feature-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{grid-template-columns:1fr 1fr;min-height:280px;aspect-ratio:2/1}
#exhibition.individual-exhibition .exhibition-panel-picture{height:100%;min-height:0;padding:9px 0 9px 9px;overflow:hidden}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-picture{padding:9px 9px 9px 0}
#exhibition.individual-exhibition .exhibition-panel-picture img{width:100%;height:100%;object-fit:cover}
#exhibition.individual-exhibition .exhibition-panel-content{padding:14px 12px 10px;gap:5px;justify-content:flex-start}
#exhibition.individual-exhibition .catalogue-panel .exhibition-panel-content h2{font-size:clamp(1.04rem,1.5vw,1.32rem);margin:5px 0 4px}
#exhibition.individual-exhibition .exhibition-panel-type{font-size:.84rem;color:#40383c;margin:0}
#exhibition.individual-exhibition .exhibition-panel-byline{font-size:.94rem;line-height:1.3;color:#30252a;margin:0}
#exhibition.individual-exhibition .exhibition-panel-byline strong{font-family:Optima,Candara,"Segoe UI","Noto Sans",sans-serif;font-weight:700}
#exhibition.individual-exhibition .exhibition-panel-subtitle{font-size:.76rem;letter-spacing:.06em;color:#797075;margin:auto 0 12px}
#exhibition.individual-exhibition .catalogue-panel .exhibition-panel-actions{justify-content:space-between;gap:18px;margin-top:0}
#exhibition.individual-exhibition .catalogue-panel .exhibition-panel-actions>*{flex:1 1 0;min-width:0}
#exhibition.individual-exhibition .exhibition-panel-pending{opacity:1!important;background:var(--wine)!important;color:white!important}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-content{padding:10px 11px 10px;gap:0}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-content h2{font-size:clamp(1.3rem,1.85vw,1.65rem);line-height:1.15;margin:0 0 7px}
#exhibition.individual-exhibition .exhibition-panel-artist{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
#exhibition.individual-exhibition .exhibition-panel-artist strong{font-size:clamp(1.03rem,1.35vw,1.27rem);margin:0 0 3px}
#exhibition.individual-exhibition .exhibition-panel-country{font-size:.77rem;color:#73696e;margin:0 0 8px}
#exhibition.individual-exhibition .exhibition-panel-secondary-links{display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px 0 10px}
#exhibition.individual-exhibition .exhibition-panel-secondary-links a,#exhibition.individual-exhibition .exhibition-panel-preview-link{font-size:.76rem;color:var(--wine);text-decoration:underline;text-underline-offset:3px;line-height:1.25}
#exhibition.individual-exhibition .exhibition-panel-preview-link small{font-size:.62rem;color:#8b8185;text-decoration:none;margin-left:3px}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions{margin-top:auto;display:flex;flex-direction:row;justify-content:stretch}
#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions>*{width:100%;padding:9px 6px}
@media(max-width:900px){#exhibition.individual-exhibition .exhibition-feature-panels{gap:14px}#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{aspect-ratio:auto;min-height:280px}}
@media(max-width:700px){#exhibition.individual-exhibition .exhibition-feature-panels{grid-template-columns:1fr;max-width:550px;gap:24px}#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{aspect-ratio:2/1;min-height:270px}}
@media(max-width:400px){#exhibition.individual-exhibition .exhibition-feature-panel,#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel{aspect-ratio:auto;min-height:250px}#exhibition.individual-exhibition .exhibition-panel-content{padding:8px 7px}#exhibition.individual-exhibition .catalogue-panel .exhibition-panel-actions{gap:9px}#exhibition.individual-exhibition .exhibition-panel-secondary-links{gap:4px}}

/* Group exhibition only: restore two separate readable columns without overlap. */
#exhibition:not(.individual-exhibition) > .exhibition-heading-attribution{
 text-align:center;font-family:Optima,Candara,"Segoe UI",sans-serif;font-size:1.22rem;
 line-height:1.5;margin:9px auto 4px;color:#393338;
}
#exhibition:not(.individual-exhibition) > .exhibition-heading-dates{
 text-align:center;font-size:.96rem;line-height:1.5;color:#746d70;margin:0 auto 36px;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:start;gap:36px;margin:42px 0 65px;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row > *{min-width:0}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .catalogue-panel{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 min-height:250px;border:2px solid var(--wine);background:#fff;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-picture{
 min-width:0;min-height:0;aspect-ratio:1/1;padding:9px;display:flex;
 align-items:center;justify-content:center;background:#fff;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-picture img{
 display:block;width:100%;height:100%;max-height:none;object-fit:cover;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-content{
 display:flex;flex-direction:column;justify-content:center;align-items:stretch;
 text-align:center;min-width:0;padding:14px 12px;gap:8px;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-content h2{
 color:var(--wine);font-size:clamp(1.08rem,1.5vw,1.4rem);line-height:1.2;
 margin:0;overflow-wrap:anywhere;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-type{
 font-size:.88rem;margin:0;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-subtitle{
 font-size:.77rem;letter-spacing:.05em;margin:0 0 8px;color:#756a70;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-actions{
 display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-actions > *{
 display:inline-flex;align-items:center;justify-content:center;flex:1 1 0;
 min-width:0;padding:9px 6px;background:var(--wine);color:#fff;
 text-decoration:none;font-size:.82rem;letter-spacing:.03em;opacity:1;
}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-actions a:hover{
 background:#79132e;color:#fff;
}
#exhibition:not(.individual-exhibition) .exhibition-artists{
 min-width:0;padding:8px 0;
}
#exhibition:not(.individual-exhibition) .exhibition-artists h2{
 margin:0 0 22px;line-height:1.2;
}
#exhibition:not(.individual-exhibition) .artist-name-list{
 display:flex;flex-wrap:wrap;gap:14px 24px;line-height:1.5;
}
@media(max-width:760px){
 #exhibition:not(.individual-exhibition) .exhibition-intro-row{
  grid-template-columns:1fr;gap:28px;
 }
 #exhibition:not(.individual-exhibition) .exhibition-intro-row .catalogue-panel{
  max-width:560px;
 }
}

/* Only button alignment in the exhibition catalogue and artist panels. */
#exhibition.individual-exhibition .exhibition-feature-panel,
#exhibition.individual-exhibition .exhibition-feature-panel.artist-panel,
#exhibition:not(.individual-exhibition) .exhibition-intro-row .catalogue-panel{
 height:auto;min-height:280px;aspect-ratio:auto;overflow:visible;
}
#exhibition.individual-exhibition .exhibition-panel-content,
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-content{
 display:flex;flex-direction:column;min-height:0;
}
#exhibition.individual-exhibition .catalogue-panel .exhibition-panel-actions,
#exhibition.individual-exhibition .artist-panel .exhibition-panel-actions,
#exhibition:not(.individual-exhibition) .exhibition-intro-row .catalogue-panel .exhibition-panel-actions{
 margin-top:auto;padding-top:20px;margin-bottom:8px;
}
#exhibition.individual-exhibition .exhibition-panel-content h2,
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-content h2{
 overflow-wrap:break-word;word-break:normal;
}

/* Targeted correction: group exhibition page only. */
main:has(#exhibition:not(.individual-exhibition)){max-width:1380px;padding-left:26px;padding-right:26px}
#exhibition:not(.individual-exhibition)>h1{display:block;width:100%;max-width:100%;margin:0 auto 9px;text-align:center}
#exhibition:not(.individual-exhibition)>.exhibition-heading-attribution,
#exhibition:not(.individual-exhibition)>.exhibition-heading-dates{display:block;width:100%;text-align:center;margin-left:auto;margin-right:auto}
#exhibition:not(.individual-exhibition) .exhibition-intro-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .catalogue-panel{grid-template-columns:1fr 1fr;align-items:stretch;min-height:290px}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-picture{width:100%;height:100%;aspect-ratio:auto;padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-picture img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-content{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;padding:22px 16px 20px;gap:12px}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-actions{margin-top:auto;margin-bottom:0;padding-top:14px;gap:18px;align-items:stretch}
#exhibition:not(.individual-exhibition) .exhibition-intro-row .exhibition-panel-actions>*{flex:1 1 0;min-width:0;padding:12px 6px}


@media(max-width:760px){#exhibition:not(.individual-exhibition) .exhibition-intro-row{grid-template-columns:1fr;gap:28px}#exhibition:not(.individual-exhibition) .exhibition-intro-row .catalogue-panel{max-width:620px;margin:auto;width:100%}}

/* Group catalogue uses the same structure and visual rules as the listing card. */
#exhibition:not(.individual-exhibition) .exhibition-intro-row .group-catalogue-card{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:2/1;min-height:230px;height:auto;align-items:stretch;overflow:hidden}
#exhibition:not(.individual-exhibition) .group-catalogue-card .exhibition-card-image{display:block;min-width:0;min-height:0;padding:9px 0 9px 9px}
#exhibition:not(.individual-exhibition) .group-catalogue-card .exhibition-card-image img{display:block;width:100%;height:100%;object-fit:cover}
#exhibition:not(.individual-exhibition) .group-catalogue-card .exhibition-card-copy{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;text-align:center;min-width:0;padding:15px 12px 9px;gap:9px}
#exhibition:not(.individual-exhibition) .group-catalogue-card .exhibition-card-copy h3{color:var(--wine);font-weight:700;margin-top:clamp(20px,2.2vw,30px);overflow-wrap:anywhere}
#exhibition:not(.individual-exhibition) .group-catalogue-card .group-catalogue-caption{font-size:.85rem;color:#756a70}
#exhibition:not(.individual-exhibition) .group-catalogue-card .group-catalogue-buttons{display:flex;gap:12px;align-items:stretch;margin-top:auto;margin-bottom:0;transform:translateY(-100%)}
#exhibition:not(.individual-exhibition) .group-catalogue-card .group-catalogue-buttons .exhibition-view-more{flex:1;min-width:0;display:block;align-self:stretch;margin:0;padding:10px 8px;line-height:1.15;letter-spacing:.5px;transform:none;background:var(--wine);color:#fff;text-decoration:none}
@media(max-width:850px){#exhibition:not(.individual-exhibition) .group-catalogue-card .exhibition-card-copy{padding:9px 8px 7px;gap:5px}#exhibition:not(.individual-exhibition) .group-catalogue-card .exhibition-card-copy h3{margin-top:20px}#exhibition:not(.individual-exhibition) .group-catalogue-card .group-catalogue-buttons{gap:7px}#exhibition:not(.individual-exhibition) .group-catalogue-card .group-catalogue-buttons .exhibition-view-more{padding:8px 6px}}

/* Group exhibition only: align artwork rows to the same left content edge as the catalogue. */


/* Group exhibition only: spread artworks across the catalogue-aligned width,
   preserving their physical sizes and the minimum 80px gaps. */



/* Individual exhibition panels reuse the listing-card frame and image treatment. */
#exhibition.individual-exhibition .individual-listing-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;max-width:none;width:100%}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-feature-panel{display:grid;grid-template-columns:1fr 1fr;min-height:280px;height:auto;aspect-ratio:2/1;border:1px solid var(--wine);overflow:hidden;background:#fff}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-picture{display:block;min-height:0;height:100%;padding:9px;background:#fff;overflow:hidden}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-picture img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-content{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;text-align:center;min-width:0;padding:16px 12px;gap:8px}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-content h2{margin:8px 0 2px;font-size:clamp(1.12rem,1.5vw,1.45rem);color:var(--wine)}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-actions{display:flex;justify-content:center;gap:12px;margin-top:auto;padding-top:10px}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-actions>*{flex:1 1 0;min-width:0;display:block;text-align:center;background:var(--wine);color:#fff;padding:10px 7px;opacity:1;text-decoration:none}
#exhibition.individual-exhibition .individual-listing-cards .artist-panel .exhibition-panel-actions{margin-top:auto}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-secondary-links{display:flex;flex-direction:column;gap:6px}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-panel-secondary-links>*{color:#51484d;text-decoration:underline;font-size:.8rem}
@media(max-width:850px){#exhibition.individual-exhibition .individual-listing-cards{grid-template-columns:1fr;max-width:650px;margin-left:auto;margin-right:auto}}

/* Only the individual exhibition cards: the same layout as listing cards. */
#exhibition.individual-exhibition .individual-listing-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;width:100%;max-width:none;margin:42px auto 60px;align-items:stretch}
#exhibition.individual-exhibition .individual-listing-cards>.exhibition-card{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:2/1;min-height:260px;height:auto;min-width:0;overflow:hidden;align-items:stretch}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-card-image{display:block;min-width:0;min-height:0;height:100%;padding:9px;overflow:hidden}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-card-image img{width:100%;height:100%;object-fit:cover;display:block}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-card-copy{display:flex;flex-direction:column;align-items:stretch;text-align:center;min-width:0;padding:16px 12px 13px;gap:7px}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-card-copy h3{color:var(--wine);font-size:clamp(1.12rem,1.6vw,1.5rem);line-height:1.2;margin:8px 0 2px;overflow-wrap:anywhere}
#exhibition.individual-exhibition .individual-listing-cards .exhibition-card-copy p{margin:0;line-height:1.3}
#exhibition.individual-exhibition .individual-card-secondary,#exhibition.individual-exhibition .individual-card-country{font-size:.82rem;color:#766b70}
#exhibition.individual-exhibition .individual-card-byline{font-size:.9rem}
#exhibition.individual-exhibition .individual-card-artist-name{font-size:1.2rem;font-weight:700;font-family:Optima,Candara,"Segoe UI",sans-serif}
#exhibition.individual-exhibition .individual-card-text-links{display:flex;flex-direction:column;gap:5px;font-size:.83rem;margin-top:auto}
#exhibition.individual-exhibition .individual-card-text-links a{color:var(--wine)}
#exhibition.individual-exhibition .individual-card-buttons{display:flex;gap:14px;margin-top:auto;padding-top:9px}
#exhibition.individual-exhibition .individual-card-buttons .exhibition-view-more,#exhibition.individual-exhibition .individual-card-buttons>a{display:block;flex:1;min-width:0;background:var(--wine);color:#fff;text-align:center;text-decoration:none;padding:10px 6px;margin:0;font-weight:700;line-height:1.2}
#exhibition.individual-exhibition .individual-card-portrait-placeholder{display:grid;place-items:center;height:100%;background:#f4f0f1;color:#74656a}
@media(max-width:850px){#exhibition.individual-exhibition .individual-listing-cards{grid-template-columns:1fr;max-width:620px;margin-left:auto;margin-right:auto;gap:24px}}
@media(max-width:420px){#exhibition.individual-exhibition .individual-listing-cards>.exhibition-card{min-height:230px;aspect-ratio:auto}#exhibition.individual-exhibition .individual-listing-cards .exhibition-card-copy{padding:10px 6px;gap:4px}}
/* Group exhibition: consistent four-centimetre gap and centered wrapped rows. */



/* Targeted corrections: equal physical gaps between group artwork images. */


/* Targeted corrections: individual exhibition cards only. */
#exhibition.individual-exhibition .individual-catalogue-card .individual-byline-name{display:block;overflow-wrap:anywhere}
#exhibition.individual-exhibition .individual-artist-card .individual-card-text-links{font-size:.94rem;gap:10px;margin-top:3px;margin-bottom:0}
#exhibition.individual-exhibition .individual-artist-card .individual-card-buttons{margin-top:auto;padding-top:9px}

/* GROUP ONLY: preserve 1:1 scale for artwork dimensions; never shrink individual pieces. */

/* GROUP EXHIBITION — one physical scale for artwork AND spacing.
   JS owns --exhibition-px-per-cm = 5.2 and --exhibition-gap-cm = 27.
   Each artwork uses its own dimensions in centimetres times that one scale. */
#exhibition:not(.individual-exhibition) .artgrid {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:48px;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0 auto;
}
#exhibition:not(.individual-exhibition) .artwork-row {
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  align-items:center;
  gap:var(--exhibition-gap-px);
  width:100%;
  min-width:0;
}
#exhibition:not(.individual-exhibition) .artwork-row .exhibition-artwork {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  flex:0 0 var(--physical-w);
  width:var(--physical-w);
  min-width:var(--physical-w);
  max-width:none;
  margin:0;
}
#exhibition:not(.individual-exhibition) .artwork-row .artwork-image-link {
  display:flex;
  align-items:flex-end;
  justify-content:center;
  flex:none;
  width:var(--physical-w);
  height:var(--physical-h);
  min-width:var(--physical-w);
  min-height:var(--physical-h);
  max-width:none;
  max-height:none;
  overflow:visible;
}
#exhibition:not(.individual-exhibition) .artwork-row .artwork-image-link img {
  display:block;
  flex:none;
  width:var(--physical-w);
  height:var(--physical-h);
  min-width:var(--physical-w);
  min-height:var(--physical-h);
  max-width:none;
  max-height:none;
  object-fit:fill;
}
/* On a narrow viewport, retain true sizes; scroll instead of shrinking artwork. */
@media(max-width:700px) {
  #exhibition:not(.individual-exhibition) .artwork-row {
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:5px;
  }
}

/* Group artwork detail only. No change to the exhibition grid or Individual exhibitions. */
body.group-artwork-detail .group-detail-image-frame {
  width: var(--detail-width);
  height: var(--detail-height);
  margin: 24px auto;
}
body.group-artwork-detail .group-detail-image-frame>img {
  display: block;
  width: var(--detail-width);
  height: var(--detail-height);
  max-width: none;
  max-height: none;
  object-fit: fill;
}

/* Navigation: keep all labels and social icons on the same desktop row. */
@media (min-width: 701px){
  .main-nav{max-width:none;flex-wrap:nowrap;gap:clamp(5px,.85vw,14px);padding-left:10px;padding-right:10px;}
  .main-nav>a{white-space:nowrap;flex:0 1 auto;}
  .main-nav>.social-group{display:flex;flex:0 0 auto;flex-wrap:nowrap;white-space:nowrap;gap:12px;}
}
@media (min-width:701px) and (max-width:1050px){
  .main-nav{font-size:clamp(9px,1.12vw,12px);letter-spacing:0;gap:clamp(4px,.65vw,9px);}
}
