
:root{
  --ivory:#f4efe6;
  --stone:#e8dfd2;
  --paper:#fbf8f2;
  --ink:#2b2623;
  --muted:#6f655d;
  --line:rgba(67,52,40,.12);
  --gold:#b88a44;
  --gold-deep:#926a30;
  --blue:#27465c;
  --shadow:0 18px 42px rgba(34,26,20,.10);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Georgia,"Times New Roman",serif;color:var(--ink);line-height:1.65;background:radial-gradient(circle at 12% 5%,rgba(39,70,92,.05),transparent 28rem),radial-gradient(circle at 88% 6%,rgba(184,138,68,.10),transparent 24rem),linear-gradient(180deg,var(--paper),var(--ivory));}
body.theme-books{--ink:#e8dfcf;--muted:#b9b1a3;--line:rgba(236,210,155,.16);--paper:#091017;--ivory:#0c141b;--stone:#111c24;background:radial-gradient(circle at 12% 5%,rgba(69,123,151,.14),transparent 30rem),radial-gradient(circle at 85% 7%,rgba(202,162,94,.13),transparent 28rem),linear-gradient(180deg,#070b0f,#0b1116 42%,#070b0f);}
body.theme-books .surface, body.theme-books .card, body.theme-books .feature-box, body.theme-books .info-panel, body.theme-books .art-card, body.theme-books .quote-box, body.theme-books .contact-card, body.theme-books .detail-card{background:linear-gradient(180deg,#111a20,#0d151a);border-color:var(--line)}
body.theme-books .site-header{background:rgba(7,11,15,.84)}
body.theme-books .hero-panel{background:linear-gradient(145deg,rgba(15,22,30,.88),rgba(9,15,20,.84))}
body.theme-books .section-muted{background:linear-gradient(135deg,rgba(18,30,38,.96),rgba(10,17,22,.96));color:var(--ink)}
body.theme-books .art-tile:before{background:linear-gradient(180deg,transparent 15%,rgba(7,11,15,.80));}
body.theme-books .dropdown-menu{background:#121a21}
body.theme-books footer{background:#080d11}
body.theme-books .lang-toggle button.active{background:linear-gradient(135deg,#8d682e,#caa25e 65%,#edd29b);color:#0c1013}
body.theme-paintings{--ivory:#e2d8cc;--stone:#b8a897;--paper:#c9bbad;--ink:#302821;--muted:#685b51;--line:rgba(67,52,40,.18);--gold:#a9793e;--gold-deep:#7a5429;--shadow:0 18px 42px rgba(45,34,26,.15);background:radial-gradient(circle at 14% 4%,rgba(255,250,242,.24),transparent 26rem),radial-gradient(circle at 86% 7%,rgba(128,91,48,.12),transparent 24rem),linear-gradient(180deg,#cbbdaf,#b9aa9a 56%,#c6b7a7)}
body.theme-paintings .site-header{background:rgba(184,168,151,.93);border-bottom-color:rgba(67,52,40,.16)}
body.theme-paintings .hero-panel{background:linear-gradient(145deg,#f2ebe2,#e9dfd3)}
body.theme-paintings .surface,body.theme-paintings .card,body.theme-paintings .feature-box,body.theme-paintings .info-panel,body.theme-paintings .art-card,body.theme-paintings .quote-box,body.theme-paintings .contact-card,body.theme-paintings .detail-card{background:linear-gradient(180deg,#f4ede4,#ece2d7)}
body.theme-paintings .category-card{background:#eee5da}
body.theme-paintings .section-muted{background:linear-gradient(180deg,#ae9d8b,#b9aa99)}
body.theme-paintings .dropdown-menu{background:#eee5da}
body.theme-paintings footer{background:#aa9987;color:#332a23}
body.theme-paintings .lang-toggle{background:rgba(245,238,230,.34)}
body.theme-gateway .site-header{background:rgba(224,214,202,.88)}
body.theme-gateway .hero-panel{background:linear-gradient(145deg,#eee5da,#ddd0c1)}
body.theme-gateway .section-muted{background:linear-gradient(180deg,#c6b8a8,#d5c9bc)}
body.theme-gateway footer{background:#c2b3a3}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:min(1180px,calc(100% - 34px));margin:auto}
.site-header{position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}
.nav{min-height:86px;display:flex;align-items:center;gap:18px;justify-content:space-between}
.brand{display:flex;align-items:center;gap:13px;line-height:1.08}
.brand-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(184,138,68,.35);background:linear-gradient(135deg,#8f6732,#c49a58);color:#fff6e8;font-size:23px;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.brand b{display:block;font-size:18px;letter-spacing:.08em}
.brand small{display:block;color:var(--muted);font:14px/1.2 Arial,sans-serif;margin-top:4px}
.navlinks{display:flex;gap:24px;align-items:center;margin-left:auto}
.navlinks>a,.dropdown-toggle{font:700 17px Arial,sans-serif;color:inherit;opacity:.95}
.navlinks>a.active,.dropdown-toggle.active{color:var(--gold-deep)}
.navlinks>a:hover,.dropdown-toggle:hover,.dropdown-menu a:hover{color:var(--gold-deep)}
.nav-cta{display:flex;gap:12px;align-items:center}
.lang-toggle{display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:2px;background:rgba(255,255,255,.35)}
.lang-toggle button{border:0;background:transparent;padding:8px 12px;border-radius:999px;font:700 12px Arial,sans-serif;letter-spacing:.08em;color:inherit;cursor:pointer}
.lang-toggle button.active{background:linear-gradient(135deg,#9b7239,#cda460);color:#fff}
.dropdown{position:relative}
.dropdown-menu{position:absolute;top:calc(100% + 12px);left:-14px;min-width:180px;padding:12px;border-radius:18px;background:#fbf7f0;border:1px solid var(--line);box-shadow:var(--shadow);display:none}
.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:9px 12px;border-radius:12px;font:16px Arial,sans-serif}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:999px;border:1px solid rgba(184,138,68,.24);font:700 14px Arial,sans-serif;letter-spacing:.02em;background:linear-gradient(135deg,#9b7239,#cda460);color:#fff;box-shadow:0 14px 30px rgba(117,84,39,.14);transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn.ghost{background:transparent;color:inherit;box-shadow:none;border-color:var(--line)}
.btn.cool{background:linear-gradient(135deg,#17384b,#2e7597)}
.btn.small{padding:11px 16px;font-size:13px}
main{overflow:hidden}
.hero{padding:56px 0 30px}
.hero-panel{border:1px solid var(--line);border-radius:34px;overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-columns:1.02fr .98fr;align-items:stretch}
.hero-copy{padding:56px 52px 48px}
.hero-visual{min-height:540px;position:relative;display:grid}
.hero-visual img{width:100%;height:100%;object-fit:cover}
.hero-visual .overlay-tags{position:absolute;right:34px;bottom:34px;display:grid;gap:12px;color:#fff}
.hero-visual .overlay-tags span{padding:8px 14px;background:rgba(22,19,16,.45);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.2);border-radius:999px;font:700 13px Arial,sans-serif;letter-spacing:.08em}
.eyebrow,.kicker{display:inline-block;font:800 13px Arial,sans-serif;text-transform:uppercase;letter-spacing:.18em;color:var(--gold-deep)}
h1{font-size:clamp(48px,6vw,82px);line-height:.93;letter-spacing:-.05em;margin:18px 0 14px}
h1 em{font-weight:400;color:var(--gold-deep)}
.subtitle{font-size:25px;margin:0 0 14px;color:var(--gold-deep)}
.lead{font-size:19px;color:var(--muted);max-width:690px}
.hero-actions,.action-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.section{padding:72px 0}
.section-head{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:28px}
.section-head-copy{max-width:760px}
.section-head h2,.content-copy h2,.feature-copy h2,.detail-card h2,.contact-card h2{font-size:clamp(32px,4.6vw,54px);line-height:1.02;letter-spacing:-.035em;margin:10px 0 12px}
.section-head p,.content-copy p,.feature-copy p,.detail-card p,.contact-card p,.mini-copy p{font-size:18px;color:var(--muted)}
.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.gateway-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:18px}
.gateway-card,.card,.surface,.feature-box,.info-panel,.art-card,.quote-box,.contact-card,.detail-card{border:1px solid var(--line);border-radius:var(--radius);background:#fffdf9;box-shadow:var(--shadow)}
.gateway-card{overflow:hidden;display:flex;flex-direction:column}
.gateway-card .media{aspect-ratio:16/10;position:relative;overflow:hidden}
.gateway-card .media img{width:100%;height:100%;object-fit:cover}
.gateway-card .media:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 15%,rgba(31,23,18,.65));}
.gateway-card .media h3{position:absolute;left:26px;bottom:26px;color:#fff;font-size:48px;line-height:.95;margin:0;z-index:1}
.gateway-card .copy{padding:26px}
.hero-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.mini-photo{aspect-ratio:4/3;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
.mini-photo img{width:100%;height:100%;object-fit:cover}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.category-card{overflow:hidden;background:#fffdf8;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.category-card img{width:100%;aspect-ratio:1/1;object-fit:cover}
.category-card .caption{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.category-card h3{font-size:17px;margin:0}
.arrow{font-size:22px;color:var(--gold-deep)}
.split-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:center}
.three-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.info-panel,.detail-card,.feature-box,.contact-card{padding:30px}
.quote-box{padding:26px 30px}
.quote-box blockquote{margin:0;font-size:28px;line-height:1.4;font-style:italic}
.quote-box cite{display:block;margin-top:18px;color:var(--muted);font:700 13px Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.artwork-card{overflow:hidden;display:flex;flex-direction:column}
.artwork-card .art-media{aspect-ratio:4/5;overflow:hidden}
.artwork-card .art-media img{width:100%;height:100%;object-fit:cover}
.artwork-card .art-copy{padding:22px 22px 24px}
.artwork-card h3{font-size:30px;line-height:1.08;margin:0 0 8px}
.artwork-card .meta{font:700 13px Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-deep)}
.artwork-card p{font-size:17px;color:var(--muted)}
.feature-list{display:grid;gap:16px}
.feature-item{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.45)}
.feature-item h3{margin:0 0 7px;font-size:24px}
.feature-item p{margin:0;color:var(--muted)}
.chapter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.chapter-grid img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow)}
.about-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:22px;align-items:start}
.portrait-panel{padding:18px}
.portrait-panel img{border-radius:20px;width:100%;object-fit:cover}
.gallery-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery-strip .mini-photo{aspect-ratio:4/3}
.contact-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:22px}
.contact-list{display:grid;gap:18px}
.contact-item{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.42)}
.contact-item strong{display:block;font:800 13px Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:6px}
form{display:grid;gap:14px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
input,textarea,select{width:100%;padding:15px 16px;border-radius:16px;border:1px solid var(--line);font:16px Arial,sans-serif;background:rgba(255,255,255,.82);color:#2e2823}
textarea{min-height:160px;resize:vertical}
label{font:700 13px Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-deep)}
.form-note{font-size:14px;color:var(--muted)}
footer{padding:28px 0 36px;border-top:1px solid var(--line)}
.footer-grid{display:flex;justify-content:space-between;gap:20px;align-items:center}
.footer-links{display:flex;gap:20px;flex-wrap:wrap;font:700 15px Arial,sans-serif;color:var(--muted)}
.footer-brand small{display:block;color:var(--muted);font:13px Arial,sans-serif}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:1120px){.category-grid{grid-template-columns:repeat(3,1fr)}.chapter-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:980px){.navlinks{display:none}.hero-panel,.split-grid,.about-grid,.contact-layout,.section-head,.two-col,.card-grid,.gateway-grid{grid-template-columns:1fr;display:grid}.hero-copy{padding:42px 28px 34px}.hero-visual{min-height:420px}.category-grid{grid-template-columns:repeat(3,1fr)}.chapter-grid,.hero-mini-grid,.three-grid,.gallery-strip{grid-template-columns:repeat(2,1fr)}.field-grid{grid-template-columns:1fr}.footer-grid{flex-direction:column;align-items:flex-start}}
@media(max-width:620px){.wrap{width:min(100% - 22px,1180px)}h1{font-size:44px}.brand small{display:none}.nav-cta .btn.small{display:none}.category-grid,.hero-mini-grid,.three-grid,.gallery-strip,.chapter-grid{grid-template-columns:1fr}.hero{padding:34px 0 18px}.site-header{position:static}.gateway-card .media h3{font-size:38px}}


/* Requested painting hero mood: darker image, palette otherwise unchanged. */
.theme-paintings .paintings-home-hero{position:relative;background:#302821;}
.theme-paintings .paintings-home-hero img{filter:brightness(.58) saturate(.82) contrast(1.08);}
.theme-paintings .paintings-home-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(28,21,17,.12),rgba(28,21,17,.38));}

/* Cleaner painting-section header after removing the duplicate Books nav item. */
.theme-paintings .site-header .brand{max-width:250px;}
.theme-paintings .site-header .brand b{font-size:15px;letter-spacing:.09em;white-space:nowrap;}
.theme-paintings .site-header .brand small{font-size:11.5px;line-height:1.25;max-width:190px;white-space:normal;}


/* Painting navigation: clickable dropdown, including a path back to the collection overview. */
.dropdown-toggle{border:0;background:transparent;padding:0;cursor:pointer;font-family:Arial,sans-serif;display:inline-flex;align-items:center;gap:7px;color:inherit}
.dropdown-toggle::after{content:"⌄";font-size:16px;line-height:1;transform:translateY(-1px);transition:transform .18s ease}
.dropdown.open .dropdown-toggle::after{transform:rotate(180deg) translateY(1px)}
.dropdown.open .dropdown-menu{display:block}
.dropdown-menu{z-index:80}
.dropdown-home-link{font-weight:800!important;color:var(--gold-deep)!important}
.dropdown-divider{height:1px;background:var(--line);margin:6px 4px}

/* More refined collection cards and navigation glyphs. */
.category-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.category-card:hover{transform:translateY(-4px);box-shadow:0 24px 52px rgba(52,39,29,.14);border-color:rgba(146,106,48,.25)}
.category-card .caption{padding:13px 14px 13px 16px}
.arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(146,106,48,.28);background:rgba(255,255,255,.38);font:700 15px/1 Arial,sans-serif;color:var(--gold-deep);transition:.2s ease}
.category-card:hover .arrow{background:var(--gold-deep);color:#fff;border-color:var(--gold-deep);transform:translate(2px,-2px)}

/* Larger editorial image story on the Paintings landing page. */
.painting-story{display:grid;grid-template-columns:1.34fr .66fr;gap:22px;align-items:stretch}
.painting-story-mosaic{display:grid;grid-template-columns:1.35fr .65fr;grid-template-rows:1fr 1fr;gap:14px;min-height:560px}
.story-image{margin:0;overflow:hidden;border-radius:24px;border:1px solid var(--line);box-shadow:var(--shadow);background:#d7c9b9}
.story-image-main{grid-row:1 / span 2}
.story-image img{width:100%;height:100%;object-fit:cover}
.story-image-main img{object-position:center 42%}
.painting-story-copy{display:flex;flex-direction:column;justify-content:center;padding:38px}
.painting-story-copy .action-row{margin-top:16px}

@media(max-width:980px){
  .painting-story{grid-template-columns:1fr}
  .painting-story-mosaic{min-height:520px}
}
@media(max-width:620px){
  .painting-story-mosaic{grid-template-columns:1fr;grid-template-rows:auto;min-height:0}
  .story-image-main{grid-row:auto}
  .story-image{aspect-ratio:4/3}
  .painting-story-copy{padding:28px 24px}
}


/* Three-work galleries. Supplied paintings retain their complete compositions. */
.artwork-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.artwork-grid--three .art-copy{display:flex;flex-direction:column;flex:1}
.artwork-grid--three .art-copy .btn{align-self:flex-start;margin-top:auto}
.artwork-card .art-media--full{display:block;background:rgba(255,253,249,.4)}
.artwork-card .art-media--full img{object-fit:contain}
.artwork-card .art-media--full:focus-visible{outline:3px solid var(--gold-deep);outline-offset:-3px}
@media(max-width:1120px){.artwork-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.artwork-grid--three{grid-template-columns:minmax(0,1fr)}}
/* Keep the painting-page brand and language controls inside narrow screens. */
@media(max-width:620px){.theme-paintings .site-header .nav{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px}}

/* ===== Requested September refinements ===== */
/* Unified GB emblem: quill + brush/pen mark, used across both site sections. */
.brand-mark{
  width:58px;height:54px;border:0;border-radius:0;background:transparent;
  box-shadow:none;display:grid;place-items:center;overflow:visible;flex:0 0 auto;
}
.brand-mark img{width:58px;height:54px;object-fit:contain;display:block;filter:drop-shadow(0 6px 10px rgba(36,25,16,.20))}
body.theme-paintings .brand-mark{padding:3px 4px;border-radius:15px;background:rgba(25,49,63,.90);box-shadow:0 7px 18px rgba(43,31,23,.16)}
body.theme-gateway .brand-mark{padding:3px 4px;border-radius:15px;background:rgba(25,49,63,.90);box-shadow:0 7px 18px rgba(43,31,23,.14)}

/* Cross-section navigation is deliberately blue so it reads as a different action. */
.cross-site-btn{
  min-width:164px;text-align:center;justify-content:center!important;white-space:nowrap;
  background:linear-gradient(135deg,#173f59,#2f789d)!important;
  color:#fff!important;border-color:rgba(44,112,148,.44)!important;
  box-shadow:0 12px 26px rgba(26,72,96,.22)!important;
}
.cross-site-btn:hover{background:linear-gradient(135deg,#12364d,#276c8f)!important}
.nav-special-home{color:#1f6285!important}
body.theme-paintings .nav-special-home{color:#215f7d!important}
.center-actions{justify-content:center!important;width:100%}
.painting-story-copy .center-actions{align-self:center}

/* Homepage contact entry, centred beneath the two gateways. */
.landing-contact{display:flex;justify-content:center;align-items:center;margin:20px 0 2px}
.landing-contact-btn{min-width:190px}

/* A clean CSS chevron replaces the typographic down-arrow glyph. */
.dropdown-toggle::after{
  content:""!important;width:8px;height:8px;display:inline-block;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px)!important;transform-origin:55% 55%;
  transition:transform .18s ease;margin-left:2px;
}
.dropdown.open .dropdown-toggle::after{transform:rotate(225deg) translate(-1px,-1px)!important}

/* Artwork text: title separated from the description by a restrained gallery rule. */
.artwork-card .artwork-title{
  position:relative;margin:0 0 15px;padding:0 0 15px;
  border-bottom:1px solid rgba(122,84,41,.26);
}
.artwork-card .artwork-title::after{
  content:"";position:absolute;left:0;bottom:-1px;width:58px;height:2px;border-radius:999px;
  background:linear-gradient(90deg,var(--gold-deep),rgba(122,84,41,.12));
}
.artwork-card .artwork-title + p{margin-top:0}

@media(max-width:620px){
  .brand-mark,.brand-mark img{width:52px;height:49px}
  .nav-cta{width:100%;justify-content:space-between;flex-wrap:wrap}
  .nav-cta .cross-site-btn{display:inline-flex!important;flex:1 1 170px}
  .landing-contact{margin-top:14px}
}

/* ===== October refinement pass ===== */
/* Painting pages: stronger boxed labels, centered section heading, and a 3x2 category grid. */
.theme-paintings .box-kicker,
.theme-paintings .eyebrow,
.theme-paintings .kicker{
  padding:10px 16px;
  border-radius:14px;
  border:1px solid rgba(122,84,41,.24);
  background:rgba(255,250,244,.58);
  box-shadow:0 8px 18px rgba(73,55,38,.08);
  font-size:14px;
  letter-spacing:.16em;
}
.theme-paintings .section-head-centered,
.theme-paintings .section-head-centered .section-head-copy,
.theme-paintings .section-head-centered h2,
.theme-paintings .section-head-centered p{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.theme-paintings .section-head-centered .section-head-copy{max-width:860px}
.theme-paintings .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.theme-paintings .category-card h3{font-size:20px;text-align:center;width:100%}
.theme-paintings .category-card .caption{justify-content:center;padding:18px 18px 16px;position:relative}
.theme-paintings .category-card .arrow{
  position:absolute;right:16px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:12px;
}
.theme-paintings .category-card img{aspect-ratio:4/3}
@media(max-width:980px){.theme-paintings .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){.theme-paintings .category-grid{grid-template-columns:1fr;}}

/* Top navigation: highlighted Home button mirrors the cross-site button. */
.navlinks .nav-special-home,
.nav-special-home{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 16px;border-radius:999px;
  font:700 13px Arial,sans-serif;letter-spacing:.04em;
  background:linear-gradient(135deg,#173f59,#2f789d);
  color:#fff !important;
  border:1px solid rgba(44,112,148,.42);
  box-shadow:0 12px 24px rgba(23,63,89,.18);
}
.navlinks .nav-special-home:hover,.nav-special-home:hover{transform:translateY(-1px)}

/* Artwork cards: hide unnecessary meta and separate titles more elegantly. */
.artwork-card .meta{display:none !important}
.artwork-card .artwork-title,
.artwork-card .art-copy h3{
  position:relative;margin:0 0 15px;padding:0 0 15px;
  border-bottom:1px solid rgba(122,84,41,.26);
}
.artwork-card .artwork-title::after,
.artwork-card .art-copy h3::after{
  content:"";position:absolute;left:0;bottom:-1px;width:58px;height:2px;border-radius:999px;
  background:linear-gradient(90deg,var(--gold-deep),rgba(122,84,41,.12));
}

/* Footer simplification. */
.footer-grid{justify-content:space-between;align-items:center}
.footer-brand b{font-size:16px;letter-spacing:.08em}

/* Homepage gateway footer removed visually. */
.landing-footer{min-height:8px;color:transparent}

/* ===== Final requested refinement pass ===== */
/* Only the Paintings overview uses these four prominent section labels. */
.paintings-overview .box-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 18px;
  border-radius:14px;
  border:1px solid rgba(122,84,41,.30);
  background:rgba(255,250,244,.70);
  box-shadow:0 10px 22px rgba(73,55,38,.10);
  font-size:15px;
  letter-spacing:.17em;
}
.paintings-overview .section-head-centered,
.paintings-overview .section-head-centered .section-head-copy,
.paintings-overview .section-head-centered h2{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.paintings-overview .section-head-centered .section-head-copy{max-width:900px}

/* Six collections: three across, then three across. */
.paintings-overview .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.paintings-overview .category-card img{aspect-ratio:4/3;object-fit:cover}
.paintings-overview .category-card .caption{
  min-height:68px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px 58px 16px 18px;
}
.paintings-overview .category-card h3{width:100%;text-align:center;font-size:21px;line-height:1.15}
/* Clean right-facing chevron; no diagonal/up arrow glyph. */
.paintings-overview .category-card .arrow{
  position:absolute;
  right:17px;
  top:50%;
  width:34px;
  height:34px;
  transform:translateY(-50%);
  border-radius:50%;
  border:1px solid rgba(122,84,41,.30);
  background:rgba(255,255,255,.44);
}
.paintings-overview .category-card .arrow::before{
  content:"";
  position:absolute;
  left:11px;
  top:10px;
  width:9px;
  height:9px;
  border-right:2px solid var(--gold-deep);
  border-top:2px solid var(--gold-deep);
  transform:rotate(45deg);
}
.paintings-overview .category-card:hover .arrow{
  background:var(--gold-deep);
  border-color:var(--gold-deep);
  transform:translateY(-50%);
}
.paintings-overview .category-card:hover .arrow::before{border-color:#fff}

/* Header buttons: Home and cross-site jump use exactly the same blue treatment. */
.theme-paintings .nav-special-home,
.theme-paintings .cross-site-btn,
.theme-gateway .nav-special-home,
.theme-gateway .cross-site-btn{
  background:linear-gradient(135deg,#173f59,#2f789d)!important;
  color:#fff!important;
  border-color:rgba(44,112,148,.44)!important;
  box-shadow:0 12px 26px rgba(26,72,96,.22)!important;
  text-align:center;
  justify-content:center!important;
}

/* Contact CTA on Paintings overview is centered. */
.paintings-overview .center-actions{justify-content:center!important}

/* Cleaner dropdown indicator: small chevron, clearly a menu without looking like a large glyph. */
.dropdown-toggle::after{
  width:7px!important;
  height:7px!important;
  border-right-width:1.5px!important;
  border-bottom-width:1.5px!important;
  margin-left:5px!important;
  opacity:.85;
}

/* Painting cards: the title itself is the visual divider; technical meta labels remain hidden. */
.artwork-card .meta{display:none!important}
.artwork-card .artwork-title,
.artwork-card .art-copy h3{
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid rgba(122,84,41,.27);
}
.artwork-card .artwork-title::after,
.artwork-card .art-copy h3::after{width:64px}

@media(max-width:980px){.paintings-overview .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.paintings-overview .category-grid{grid-template-columns:1fr}}

/* ===== Premium palette refinement (books + paintings) ===== */
/* Painting side: warmer gallery ivory, stronger contrast, darker editorial bands. */
body.theme-paintings{
  --ivory:#efe7dc;
  --stone:#d7c8b7;
  --paper:#f7f1e8;
  --ink:#2f241d;
  --muted:#6e6055;
  --line:rgba(72,50,31,.14);
  --gold:#b2864f;
  --gold-deep:#866038;
  --shadow:0 22px 48px rgba(43,29,18,.12);
  background:
    radial-gradient(circle at 12% 3%,rgba(255,249,239,.76),transparent 24rem),
    radial-gradient(circle at 88% 8%,rgba(178,134,79,.10),transparent 22rem),
    linear-gradient(180deg,#f8f2ea 0%,#efe4d7 46%,#f4ede4 100%);
}
body.theme-paintings .site-header{
  background:rgba(246,238,228,.92);
  border-bottom-color:rgba(72,50,31,.11);
  box-shadow:0 8px 26px rgba(73,53,35,.06);
}
body.theme-paintings .hero-panel{
  background:linear-gradient(145deg,#f9f4ed,#eee2d3);
}
body.theme-paintings .surface,
body.theme-paintings .card,
body.theme-paintings .feature-box,
body.theme-paintings .info-panel,
body.theme-paintings .art-card,
body.theme-paintings .quote-box,
body.theme-paintings .contact-card,
body.theme-paintings .detail-card,
body.theme-paintings .category-card{
  background:linear-gradient(180deg,#fcf8f2,#f2e7db);
  border-color:rgba(72,50,31,.11);
}
body.theme-paintings .section-muted{
  background:linear-gradient(145deg,#49372d,#2f231d);
  color:#f3e8d8;
}
body.theme-paintings .section-muted p,
body.theme-paintings .section-muted .detail-card p,
body.theme-paintings .section-muted .kicker,
body.theme-paintings .section-muted .eyebrow{
  color:#dbc8aa;
}
body.theme-paintings .section-muted .detail-card,
body.theme-paintings .section-muted .feature-box,
body.theme-paintings .section-muted .info-panel{
  background:linear-gradient(180deg,rgba(255,248,240,.10),rgba(255,248,240,.05));
  border-color:rgba(227,196,151,.14);
}
body.theme-paintings .dropdown-menu{
  background:#fbf4eb;
  border-color:rgba(72,50,31,.10);
}
body.theme-paintings footer{
  background:linear-gradient(145deg,#3f3027,#2b211c);
  color:#eadfce;
}
body.theme-paintings footer .footer-links,
body.theme-paintings footer .footer-brand small{color:#d7c7b3}
body.theme-paintings .box-kicker,
body.theme-paintings .eyebrow,
body.theme-paintings .kicker{
  background:rgba(255,251,246,.84);
  border-color:rgba(134,96,56,.22);
  box-shadow:0 10px 24px rgba(68,48,31,.08);
}
body.theme-paintings .btn:not(.cross-site-btn):not(.nav-special-home){
  background:linear-gradient(135deg,#8a6338,#b98b54 62%,#d8b27a);
  border-color:rgba(134,96,56,.28);
  box-shadow:0 16px 30px rgba(121,84,41,.16);
}
body.theme-paintings .btn.ghost{
  background:transparent;
  color:var(--ink);
  border-color:rgba(72,50,31,.16);
  box-shadow:none;
}
body.theme-paintings .category-card:hover{box-shadow:0 24px 54px rgba(52,39,29,.16)}

/* Book side: deeper navy, warmer champagne gold, more subdued blue accents. */

/* ===== Requested refinement: cleaner paintings overview ===== */
/* First painting section uses the same premium umber treatment as the story band. */
.paintings-overview .hero-panel{
  background:linear-gradient(145deg,#49372d,#2f231d)!important;
  border-color:rgba(227,196,151,.16)!important;
}
.paintings-overview .hero-copy{color:#f5eadb}
.paintings-overview .hero-copy h1,
.paintings-overview .hero-copy h1 em{color:#f5eadb}
.paintings-overview .hero-copy .lead{color:#ddccb7}

/* Painting navigation: hover opens immediately and the pointer can travel directly into the menu. */
.theme-paintings .dropdown{padding-bottom:0}
.theme-paintings .dropdown-menu{
  top:100%!important;
  left:50%!important;
  transform:translateX(-50%);
  margin-top:0!important;
  min-width:224px;
  padding:10px;
  border-radius:16px;
}
.theme-paintings .dropdown:hover .dropdown-menu,
.theme-paintings .dropdown:focus-within .dropdown-menu{display:block!important}
.theme-paintings .dropdown-menu a{
  text-align:center;
  padding:11px 14px;
  border-radius:9px;
}
.theme-paintings .dropdown-menu .dropdown-home-link{
  color:var(--gold-deep)!important;
  font-weight:800!important;
  background:rgba(178,134,79,.08);
}
.theme-paintings .dropdown-divider{margin:8px 2px 5px}
.theme-paintings .dropdown-menu a:not(.dropdown-home-link){
  border-top:1px solid rgba(72,50,31,.09);
  border-radius:0;
}
.theme-paintings .dropdown-menu a:not(.dropdown-home-link):hover{
  background:rgba(178,134,79,.08);
}

/* All painting-category labels remain perfectly centered. */
.paintings-overview .category-card .caption{padding-left:58px!important;padding-right:58px!important}
.paintings-overview .category-card h3{text-align:center!important}

/* Home and Go to Books are deliberately identical blue/white buttons. */
.theme-paintings .nav-special-home,
.theme-paintings .cross-site-btn{
  background:linear-gradient(135deg,#14364a,#2a607d)!important;
  color:#fff!important;
  border:1px solid rgba(109,146,163,.30)!important;
  box-shadow:0 12px 26px rgba(20,54,74,.20)!important;
}
.theme-paintings .nav-special-home:hover,
.theme-paintings .cross-site-btn:hover{
  color:#fff!important;
  background:linear-gradient(135deg,#102f41,#245a76)!important;
}

/* ===== v9 painting refinements ===== */
/* Home and Go to Books are pixel-matched: same blue box, height, width and white label. */
.theme-paintings .site-header .navlinks > a.nav-special-home,
.theme-paintings .site-header .nav-cta > a.cross-site-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:164px!important;
  height:42px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#14364a,#2a607d)!important;
  border:1px solid rgba(109,146,163,.30)!important;
  box-shadow:0 12px 26px rgba(20,54,74,.20)!important;
  color:#fff!important;
  opacity:1!important;
  font:700 13px/1 Arial,sans-serif!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}
.theme-paintings .site-header .navlinks > a.nav-special-home:hover,
.theme-paintings .site-header .nav-cta > a.cross-site-btn:hover{
  color:#fff!important;
  background:linear-gradient(135deg,#102f41,#245a76)!important;
}

/* Paintings menu is hover navigation on desktop, not a click-toggle control. */
@media(min-width:981px){
  .theme-paintings .dropdown-toggle{cursor:default!important;user-select:none}
  .theme-paintings .dropdown.open .dropdown-menu{display:none}
  .theme-paintings .dropdown:hover .dropdown-menu,
  .theme-paintings .dropdown:focus-within .dropdown-menu{display:block!important}
}
.theme-paintings .dropdown-menu{
  padding:12px!important;
  min-width:244px!important;
  background:#fbf4ea!important;
  border:1px solid rgba(91,63,39,.16)!important;
  box-shadow:0 22px 48px rgba(44,31,21,.18)!important;
}
.theme-paintings .dropdown-menu a{
  display:block!important;
  margin:5px 0!important;
  padding:12px 16px!important;
  text-align:center!important;
  border:1px solid rgba(91,63,39,.10)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.46)!important;
  font-weight:700!important;
}
.theme-paintings .dropdown-menu a:hover{
  background:rgba(178,134,79,.13)!important;
  border-color:rgba(134,96,56,.22)!important;
}
.theme-paintings .dropdown-divider{
  height:1px!important;
  margin:9px 10px!important;
  background:linear-gradient(90deg,transparent,rgba(134,96,56,.42),transparent)!important;
}

/* Six thematic cards fit comfortably into a normal desktop viewport. */
.paintings-overview #collections{padding:34px 0 42px!important}
.paintings-overview #collections .section-head{margin-bottom:18px!important}
.paintings-overview #collections .section-head h2{margin:0!important;font-size:clamp(30px,3.2vw,44px)!important}
.paintings-overview .category-grid{gap:14px!important}
.paintings-overview .category-card{border-radius:16px!important}
.paintings-overview .category-card img{
  width:100%!important;
  height:clamp(118px,16vh,176px)!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
}
.paintings-overview .category-card .caption{
  min-height:54px!important;
  padding:11px 52px 11px 16px!important;
}
.paintings-overview .category-card h3{font-size:18px!important}
.paintings-overview .category-card .arrow{width:30px!important;height:30px!important;right:13px!important}
.paintings-overview .category-card .arrow::before{left:9px!important;top:8px!important;width:8px!important;height:8px!important}
@media(max-width:980px){
  .paintings-overview .category-card img{height:auto!important;aspect-ratio:4/3!important}
}

/* Category pages are scalable galleries rather than 2/3-work showcase pages. */
.painting-category-page .hero-copy{text-align:center!important}
.painting-category-page .hero-copy .lead{margin-left:auto!important;margin-right:auto!important}
.painting-category-page .hero-copy .action-row{justify-content:center!important;align-items:center!important}
.painting-category-page .category-gallery-head,
.painting-category-page .category-gallery-head .section-head-copy{
  width:100%!important;
  max-width:none!important;
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.painting-category-page .category-gallery-head h2{margin:0!important}
.painting-category-page .two-col,
.painting-category-page .artwork-grid--three{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(285px,1fr))!important;
  gap:22px!important;
  max-width:1140px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.painting-category-page .artwork-card .art-copy{text-align:center!important}
.painting-category-page .artwork-card .art-copy .btn{align-self:center!important;margin-left:auto!important;margin-right:auto!important}

/* Elegant full-width title divider: stronger rule with a small central diamond. */
.painting-category-page .artwork-card .artwork-title,
.painting-category-page .artwork-card .art-copy h3{
  position:relative!important;
  text-align:center!important;
  padding:0 0 20px!important;
  margin:0 0 18px!important;
  border:0!important;
}
.painting-category-page .artwork-card .artwork-title::before,
.painting-category-page .artwork-card .art-copy h3::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:3px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(134,96,56,.26) 12%,rgba(134,96,56,.78) 50%,rgba(134,96,56,.26) 88%,transparent 100%)!important;
}
.painting-category-page .artwork-card .artwork-title::after,
.painting-category-page .artwork-card .art-copy h3::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:-1px!important;
  width:8px!important;
  height:8px!important;
  background:#b2864f!important;
  border:2px solid #f5ecdf!important;
  transform:translateX(-50%) rotate(45deg)!important;
  border-radius:1px!important;
}

/* A restrained text-style return link reads more professionally than another pill button. */
.painting-category-page .collection-back{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:9px 2px!important;
  color:var(--gold-deep)!important;
  font:700 14px Arial,sans-serif!important;
  letter-spacing:.03em!important;
  border-bottom:1px solid rgba(134,96,56,.34)!important;
}
.painting-category-page .collection-back::before{content:"←";font-size:17px;line-height:1}
.painting-category-page .collection-back:hover{border-bottom-color:var(--gold-deep)!important}

/* Curatorial footer blocks use the premium umber palette with readable light text. */
.painting-category-page .section-muted{
  background:linear-gradient(145deg,#4b382d,#2e221c)!important;
  color:#f5eadb!important;
}
.painting-category-page .section-muted .detail-card,
.painting-category-page .section-muted .quote-box{
  background:linear-gradient(180deg,rgba(255,248,238,.10),rgba(255,248,238,.055))!important;
  border-color:rgba(226,196,153,.20)!important;
  color:#f5eadb!important;
  box-shadow:0 20px 45px rgba(28,19,14,.18)!important;
}
.painting-category-page .section-muted .detail-card h2,
.painting-category-page .section-muted .quote-box blockquote{color:#fff5e7!important}
.painting-category-page .section-muted .detail-card p{color:#ddcbb5!important}
.painting-category-page .section-muted .kicker{color:#d9b77f!important;background:rgba(255,255,255,.05)!important;border-color:rgba(226,196,153,.18)!important}



/* ===== V11 site-adaptive circular emblem ===== */
body.theme-paintings .brand-mark{
  width:58px!important;height:58px!important;border-radius:50%!important;overflow:hidden!important;
  padding:5px!important;display:grid!important;place-items:center!important;
  background:radial-gradient(circle at 35% 30%,#f7eee4 0%,#d7c1a7 62%,#a9835d 100%)!important;
  border:1px solid rgba(122,84,41,.34)!important;
  box-shadow:0 9px 22px rgba(56,40,27,.16),inset 0 0 0 1px rgba(255,255,255,.30)!important;
}
body.theme-gateway .brand-mark{
  width:58px!important;height:58px!important;border-radius:50%!important;overflow:hidden!important;
  padding:5px!important;display:grid!important;place-items:center!important;
  background:radial-gradient(circle at 35% 30%,#243d4b 0%,#182b36 62%,#0f1d25 100%)!important;
  border:1px solid rgba(184,138,68,.38)!important;
  box-shadow:0 9px 22px rgba(43,31,23,.16),inset 0 0 0 1px rgba(255,255,255,.05)!important;
}
body.theme-paintings .brand-mark img,body.theme-gateway .brand-mark img{
  width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;
}
@media(max-width:620px){
  body.theme-paintings .brand-mark,body.theme-gateway .brand-mark{width:52px!important;height:52px!important}
}


/* ===== V12 requested visual corrections ===== */
/* Painting overview: larger, more premium 3x2 category cards while preserving image proportions. */
.paintings-overview #collections{
  padding:26px 0 34px!important;
}
.paintings-overview #collections .section-head{
  margin-bottom:18px!important;
}
.paintings-overview .category-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.paintings-overview .category-card{
  border-radius:20px!important;
  border:1px solid rgba(111,77,46,.24)!important;
  background:linear-gradient(180deg,#fffaf3,#eee0d1)!important;
  box-shadow:0 14px 34px rgba(65,43,27,.14), inset 0 0 0 1px rgba(255,255,255,.48)!important;
  overflow:hidden!important;
}
.paintings-overview .category-card:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(134,96,56,.42)!important;
  box-shadow:0 22px 48px rgba(65,43,27,.20), inset 0 0 0 1px rgba(255,255,255,.56)!important;
}
.paintings-overview .category-card img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
}
.paintings-overview .category-card .caption{
  min-height:66px!important;
  padding:15px 58px!important;
  border-top:1px solid rgba(111,77,46,.14)!important;
  background:linear-gradient(180deg,rgba(255,250,243,.98),rgba(238,224,209,.98))!important;
}
.paintings-overview .category-card h3{
  font-size:21px!important;
  letter-spacing:.015em!important;
  text-align:center!important;
}
.paintings-overview .category-card .arrow{
  width:32px!important;height:32px!important;right:16px!important;
  background:rgba(255,255,255,.64)!important;
  border-color:rgba(134,96,56,.28)!important;
}
@media(max-width:980px){
  .paintings-overview .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
  .paintings-overview .category-grid{grid-template-columns:1fr!important;}
}

/* About page: paintings CTA follows the warm gallery palette; books CTA remains blue. */
.theme-gateway .painting-cta{
  background:linear-gradient(135deg,#9a7448,#c19a68 62%,#dbc09a)!important;
  color:#fffaf2!important;
  border:1px solid rgba(127,89,47,.34)!important;
  box-shadow:0 14px 28px rgba(104,72,41,.18)!important;
}
.theme-gateway .painting-cta:hover{
  background:linear-gradient(135deg,#86623c,#af8759 62%,#cfaf82)!important;
  color:#fff!important;
}


/* ===== v13 artwork catalog update ===== */
.paintings-overview .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.paintings-overview .category-grid .category-card:last-child{grid-column:2}
.paintings-overview .category-card{border:1px solid rgba(134,96,56,.24);box-shadow:0 18px 42px rgba(52,39,29,.12)}
.paintings-overview .category-card img,.paintings-overview .category-placeholder-image{width:100%;aspect-ratio:4/3}
.category-placeholder-image{display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,rgba(184,138,68,.16),transparent 45%),linear-gradient(145deg,#e7d9ca,#c9b6a2);color:#8a6338;font:700 52px Georgia,serif;letter-spacing:.08em}
.category-card--empty .caption{background:rgba(255,250,244,.86)}
.artwork-grid--catalog{align-items:stretch}
.artwork-grid--catalog .artwork-card{height:100%}
.artwork-grid--catalog .art-media{background:#e9dfd2;display:grid;place-items:center}
.artwork-grid--catalog .art-media img{width:100%;height:100%;object-fit:contain}
.artwork-grid--catalog .art-copy{display:flex;flex-direction:column;flex:1}
.artwork-grid--catalog .art-copy .btn{align-self:flex-start;margin-top:auto}
.empty-gallery{max-width:760px;margin:20px auto 0;text-align:center;padding:52px 30px;border:1px solid rgba(134,96,56,.20);border-radius:26px;background:linear-gradient(180deg,#fbf6ef,#efe4d8);box-shadow:var(--shadow)}
.empty-gallery-mark{width:78px;height:78px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(134,96,56,.28);color:var(--gold-deep);font:700 26px Georgia,serif}
.empty-gallery h3{font-size:30px;margin:0 0 8px}
.empty-gallery p{margin:0;color:var(--muted);font-size:17px}
.category-hero-placeholder{background:radial-gradient(circle at 35% 30%,rgba(184,138,68,.17),transparent 35%),linear-gradient(145deg,#46352c,#2d231e);place-items:center}
.category-hero-placeholder .placeholder-monogram{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(223,186,126,.32);color:#d5b27a;font:700 48px Georgia,serif;letter-spacing:.08em}
@media(max-width:980px){.paintings-overview .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paintings-overview .category-grid .category-card:last-child{grid-column:auto}}
@media(max-width:620px){.paintings-overview .category-grid{grid-template-columns:1fr}.paintings-overview .category-grid .category-card:last-child{grid-column:auto}}

/* ===== v14 gallery consistency, mosaics and lightbox ===== */
/* Paintings label itself is the indicator; no extra down-arrow is needed. */
.theme-paintings .dropdown-toggle::after,
.theme-gateway .dropdown-toggle::after{display:none!important;content:none!important}

/* One identical dropdown treatment across painting, About and Contact pages. */
.theme-paintings .dropdown-menu,
.theme-gateway .dropdown-menu{
  padding:12px!important;
  min-width:244px!important;
  background:#fbf4ea!important;
  border:1px solid rgba(91,63,39,.16)!important;
  border-radius:16px!important;
  box-shadow:0 22px 48px rgba(44,31,21,.18)!important;
}
.theme-paintings .dropdown-menu a,
.theme-gateway .dropdown-menu a{
  display:block!important;
  margin:5px 0!important;
  padding:12px 16px!important;
  text-align:center!important;
  border:1px solid rgba(91,63,39,.10)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.46)!important;
  color:#44372e!important;
  font-weight:700!important;
}
.theme-paintings .dropdown-menu a:hover,
.theme-gateway .dropdown-menu a:hover{
  background:rgba(178,134,79,.14)!important;
  border-color:rgba(134,96,56,.25)!important;
  color:#6f4c29!important;
}
.theme-paintings .dropdown-menu .dropdown-home-link,
.theme-gateway .dropdown-menu .dropdown-home-link{
  background:linear-gradient(135deg,#173f59,#2f789d)!important;
  color:#fff!important;
  border-color:rgba(44,112,148,.34)!important;
}
.theme-paintings .dropdown-divider,
.theme-gateway .dropdown-divider{
  height:1px!important;
  margin:9px 10px!important;
  background:linear-gradient(90deg,transparent,rgba(134,96,56,.42),transparent)!important;
}

/* Secondary return control: clearly a button, but visually distinct from Get a Quote. */
.painting-category-page .collection-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:13px 20px!important;
  border-radius:999px!important;
  border:1px solid rgba(134,96,56,.30)!important;
  background:linear-gradient(180deg,#fffaf3,#eadac8)!important;
  color:#6f4d2b!important;
  box-shadow:0 10px 24px rgba(74,52,34,.10)!important;
  font:700 14px Arial,sans-serif!important;
  letter-spacing:.03em!important;
  text-decoration:none!important;
}
.painting-category-page .collection-back::before{content:"←"!important;font-size:17px!important;line-height:1!important}
.painting-category-page .collection-back:hover{
  transform:translateY(-2px)!important;
  background:linear-gradient(180deg,#fffdf9,#e2cfba)!important;
  border-color:rgba(134,96,56,.46)!important;
}

/* Category hero: square-like editorial mosaic using the first available works. */
.painting-category-page .category-hero-mosaic{
  min-height:520px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:1fr 1fr!important;
  gap:3px!important;
  overflow:hidden!important;
  background:#33271f!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile{
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  position:relative!important;
  cursor:zoom-in!important;
  background:#2e241e!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .28s ease,filter .28s ease!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile:hover img{
  transform:scale(1.035)!important;
  filter:brightness(1.04)!important;
}
.painting-category-page .category-hero-mosaic.mosaic-count-1 .mosaic-tile{
  grid-column:1 / -1!important;
  grid-row:1 / -1!important;
}
.painting-category-page .category-hero-mosaic.mosaic-count-2{
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:1fr!important;
}
.painting-category-page .category-hero-mosaic.mosaic-count-2 .mosaic-tile{grid-row:1!important}
.painting-category-page .category-hero-mosaic.mosaic-count-3 .mosaic-tile:first-child{grid-row:1 / -1!important}
.painting-category-page .category-hero-mosaic.mosaic-empty{
  display:grid!important;
  place-items:center!important;
  grid-template-columns:1fr!important;
  grid-template-rows:1fr!important;
  background:radial-gradient(circle at 35% 30%,rgba(184,138,68,.17),transparent 35%),linear-gradient(145deg,#46352c,#2d231e)!important;
}

/* Exactly three artwork slots per desktop row, even if a category has only one or two works. */
.painting-category-page .artwork-grid--catalog,
.painting-category-page .artwork-grid--three,
.painting-category-page .two-col{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:start!important;
  max-width:1140px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.painting-category-page .artwork-grid--catalog .artwork-card{
  height:auto!important;
  align-self:start!important;
}

/* Images keep their full composition and the title starts immediately below the actual image. */
.painting-category-page .artwork-grid--catalog .art-media,
.painting-category-page .artwork-card .art-media--full{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  display:block!important;
  background:#eee4d7!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
}
.painting-category-page .artwork-grid--catalog .art-media img,
.painting-category-page .artwork-card .art-media--full img{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  display:block!important;
  transition:transform .25s ease!important;
}
.painting-category-page .artwork-card .art-media--full:hover img{transform:scale(1.012)!important}
.painting-category-page .artwork-card .art-copy{padding-top:20px!important}

/* Stronger, professional title-to-description separation on every artwork card. */
.painting-category-page .artwork-card .artwork-title,
.painting-category-page .artwork-card .art-copy h3{
  padding:0 0 22px!important;
  margin:0 0 16px!important;
}
.painting-category-page .artwork-card .artwork-title::before,
.painting-category-page .artwork-card .art-copy h3::before{
  bottom:5px!important;
  height:2px!important;
  background:linear-gradient(90deg,rgba(134,96,56,.08),rgba(134,96,56,.75) 22%,#9b703e 50%,rgba(134,96,56,.75) 78%,rgba(134,96,56,.08))!important;
}
.painting-category-page .artwork-card .artwork-title::after,
.painting-category-page .artwork-card .art-copy h3::after{
  bottom:0!important;
  width:9px!important;
  height:9px!important;
  background:#9b703e!important;
  border:2px solid #f7efe4!important;
}

/* Modal gallery / lightbox with next and previous navigation. */
.gallery-lightbox{
  position:fixed!important;
  inset:0!important;
  z-index:1200!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:28px 82px!important;
  background:rgba(11,9,8,.94)!important;
  backdrop-filter:blur(8px)!important;
}
.gallery-lightbox.open{display:flex!important}
.gallery-lightbox-dialog{
  position:relative!important;
  width:min(1180px,92vw)!important;
  height:min(900px,90vh)!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  justify-items:center!important;
}
.gallery-lightbox-image-wrap{
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
}
.gallery-lightbox img{
  max-width:100%!important;
  max-height:100%!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  box-shadow:0 28px 70px rgba(0,0,0,.48)!important;
  border-radius:4px!important;
}
.gallery-lightbox-meta{
  color:#f5eadc!important;
  text-align:center!important;
  font-family:Arial,sans-serif!important;
  line-height:1.35!important;
}
.gallery-lightbox-title{font:700 17px Georgia,serif!important;color:#fff4e4!important;margin-bottom:4px!important}
.gallery-lightbox-counter{font-size:12px!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#cdbb9e!important}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next{
  position:absolute!important;
  z-index:2!important;
  border:1px solid rgba(235,211,174,.30)!important;
  background:rgba(28,23,20,.78)!important;
  color:#fff5e7!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  transition:background .18s ease,transform .18s ease!important;
}
.gallery-lightbox-close:hover,.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{background:rgba(134,96,56,.92)!important}
.gallery-lightbox-close{
  top:-2px!important;right:-4px!important;
  width:46px!important;height:46px!important;border-radius:50%!important;
  font:300 28px/1 Arial,sans-serif!important;
}
.gallery-lightbox-prev,.gallery-lightbox-next{
  top:50%!important;transform:translateY(-50%)!important;
  width:50px!important;height:72px!important;border-radius:16px!important;
  font:400 38px/1 Georgia,serif!important;
}
.gallery-lightbox-prev{left:-66px!important}
.gallery-lightbox-next{right:-66px!important}
.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{transform:translateY(-50%) scale(1.03)!important}
.gallery-lightbox-single .gallery-lightbox-prev,
.gallery-lightbox-single .gallery-lightbox-next{display:none!important}
body.lightbox-open{overflow:hidden!important}

@media(max-width:980px){
  .painting-category-page .artwork-grid--catalog,
  .painting-category-page .artwork-grid--three,
  .painting-category-page .two-col{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .painting-category-page .category-hero-mosaic{min-height:420px!important}
  .gallery-lightbox{padding:22px 62px!important}
  .gallery-lightbox-prev{left:-52px!important}
  .gallery-lightbox-next{right:-52px!important}
}
@media(max-width:620px){
  .painting-category-page .artwork-grid--catalog,
  .painting-category-page .artwork-grid--three,
  .painting-category-page .two-col{grid-template-columns:1fr!important}
  .painting-category-page .category-hero-mosaic{min-height:330px!important}
  .gallery-lightbox{padding:18px 14px 76px!important}
  .gallery-lightbox-dialog{width:100%!important;height:82vh!important}
  .gallery-lightbox-prev,.gallery-lightbox-next{top:auto!important;bottom:-58px!important;transform:none!important;width:58px!important;height:46px!important}
  .gallery-lightbox-prev{left:calc(50% - 72px)!important}
  .gallery-lightbox-next{right:calc(50% - 72px)!important}
  .gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{transform:none!important}
  .gallery-lightbox-close{right:0!important;top:0!important}
}

/* ===== v15 gallery / category refinements ===== */
/* GA monogram treatment: keep the pen/brush motif subtly visible behind a clear GA mark. */
.brand-mark{
  position:relative!important;
  overflow:hidden!important;
  border-radius:50%!important;
  isolation:isolate!important;
}
.brand-mark img{
  position:absolute!important;
  inset:3px!important;
  width:calc(100% - 6px)!important;
  height:calc(100% - 6px)!important;
  object-fit:contain!important;
  opacity:.24!important;
  z-index:0!important;
}
.brand-monogram{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  z-index:2!important;
  font:700 23px/1 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.07em!important;
  pointer-events:none!important;
}
.theme-paintings .brand-mark,
.theme-gateway .brand-mark{
  background:radial-gradient(circle at 38% 28%,#f8efe4,#dfc9af 72%,#b88a55)!important;
  border:1px solid rgba(128,88,48,.34)!important;
  box-shadow:0 8px 18px rgba(62,43,28,.16)!important;
}
.theme-paintings .brand-monogram,
.theme-gateway .brand-monogram{
  color:#76502d!important;
  text-shadow:0 1px 0 rgba(255,255,255,.65)!important;
}

/* All Paintings is a warm gallery control, not a blue cross-site action. */
.theme-paintings .dropdown-menu .dropdown-home-link,
.theme-gateway .dropdown-menu .dropdown-home-link{
  background:linear-gradient(180deg,#e2c8a7,#caa57a)!important;
  color:#4e3827!important;
  border-color:rgba(111,76,41,.32)!important;
  box-shadow:0 6px 16px rgba(84,58,36,.10)!important;
}
.theme-paintings .dropdown-menu .dropdown-home-link:hover,
.theme-gateway .dropdown-menu .dropdown-home-link:hover{
  background:linear-gradient(180deg,#d5b58d,#b88d5e)!important;
  color:#39271b!important;
  border-color:rgba(105,69,35,.46)!important;
}

/* Category hero: centered copy + compact four-image mosaic that fits comfortably on screen. */
.painting-category-page .hero{padding:34px 0 24px!important}
.painting-category-page .hero-panel{
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;
  align-items:stretch!important;
}
.painting-category-page .hero-copy{
  min-height:0!important;
  padding:34px 42px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.painting-category-page .hero-copy h1{margin-top:0!important}
.painting-category-page .hero-copy .lead{max-width:610px!important;margin-bottom:0!important}
.painting-category-page .category-hero-mosaic{
  min-height:0!important;
  height:clamp(320px,42vh,410px)!important;
  align-self:center!important;
  margin:18px 18px 18px 0!important;
  border-radius:20px!important;
  border:1px solid rgba(227,196,151,.18)!important;
  box-shadow:0 18px 38px rgba(45,30,21,.18)!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile img{
  object-fit:cover!important;
}

/* Three equal catalog cards per desktop row. Full artwork composition is visible in a fixed image stage. */
.painting-category-page .artwork-grid--catalog,
.painting-category-page .artwork-grid--three,
.painting-category-page .two-col{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.painting-category-page .artwork-grid--catalog .artwork-card{
  height:600px!important;
  min-height:600px!important;
  max-height:600px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.painting-category-page .artwork-grid--catalog .art-media,
.painting-category-page .artwork-card .art-media--full{
  height:320px!important;
  min-height:320px!important;
  max-height:320px!important;
  padding:10px!important;
  display:grid!important;
  place-items:center!important;
  background:#eadfd2!important;
  overflow:hidden!important;
}
.painting-category-page .artwork-grid--catalog .art-media img,
.painting-category-page .artwork-card .art-media--full img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
.painting-category-page .artwork-card .art-media--full:hover img{transform:scale(1.006)!important}
.painting-category-page .artwork-card .art-copy{
  padding:18px 20px 20px!important;
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  text-align:center!important;
}
.painting-category-page .artwork-card .artwork-title,
.painting-category-page .artwork-card .art-copy h3{
  font-size:25px!important;
  line-height:1.08!important;
  padding-bottom:18px!important;
  margin-bottom:12px!important;
}
.painting-category-page .artwork-card .art-copy p{
  margin:0 auto 14px!important;
  font-size:15px!important;
  line-height:1.45!important;
  max-width:95%!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:4!important;
  overflow:hidden!important;
}
.painting-category-page .artwork-card .art-copy .btn{
  margin-top:auto!important;
  align-self:center!important;
  padding:12px 19px!important;
}

/* Lightbox: always show the complete original image; never crop it. */
.gallery-lightbox{
  padding:20px 72px!important;
}
.gallery-lightbox-dialog{
  width:min(1260px,calc(100vw - 130px))!important;
  height:auto!important;
  max-height:calc(100vh - 36px)!important;
  grid-template-rows:auto auto!important;
  gap:12px!important;
}
.gallery-lightbox-image-wrap{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:calc(100vh - 132px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.gallery-lightbox img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:calc(100vh - 150px)!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.gallery-lightbox-meta{padding-top:2px!important}
.gallery-lightbox-title{font-size:18px!important;text-align:center!important}

@media(max-width:980px){
  .painting-category-page .hero-panel{grid-template-columns:1fr!important}
  .painting-category-page .category-hero-mosaic{
    width:calc(100% - 36px)!important;
    height:clamp(320px,48vw,440px)!important;
    margin:0 18px 18px!important;
  }
  .painting-category-page .artwork-grid--catalog,
  .painting-category-page .artwork-grid--three,
  .painting-category-page .two-col{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .painting-category-page .artwork-grid--catalog .artwork-card{height:590px!important;min-height:590px!important;max-height:590px!important}
  .painting-category-page .artwork-grid--catalog .art-media,
  .painting-category-page .artwork-card .art-media--full{height:310px!important;min-height:310px!important;max-height:310px!important}
  .gallery-lightbox{padding:18px 56px!important}
  .gallery-lightbox-dialog{width:calc(100vw - 112px)!important}
}
@media(max-width:620px){
  .painting-category-page .hero-copy{padding:30px 22px!important}
  .painting-category-page .category-hero-mosaic{width:calc(100% - 24px)!important;margin:0 12px 14px!important;height:310px!important}
  .painting-category-page .artwork-grid--catalog,
  .painting-category-page .artwork-grid--three,
  .painting-category-page .two-col{grid-template-columns:1fr!important}
  .painting-category-page .artwork-grid--catalog .artwork-card{height:auto!important;min-height:0!important;max-height:none!important}
  .painting-category-page .artwork-grid--catalog .art-media,
  .painting-category-page .artwork-card .art-media--full{height:300px!important;min-height:300px!important;max-height:300px!important}
  .gallery-lightbox{padding:16px 12px 72px!important}
  .gallery-lightbox-dialog{width:100%!important;max-height:calc(100vh - 92px)!important}
  .gallery-lightbox-image-wrap{max-height:calc(100vh - 190px)!important}
  .gallery-lightbox img{max-height:calc(100vh - 200px)!important}
}

/* ===== v16 emblem, mosaic and lightbox refinements ===== */
/* Preserve the original pen/brush emblem completely; only mask the B area and display A. */
.brand-mark{
  position:relative!important;
  overflow:hidden!important;
  border-radius:50%!important;
  isolation:isolate!important;
}
.brand-mark img{
  position:absolute!important;
  inset:2px!important;
  width:calc(100% - 4px)!important;
  height:calc(100% - 4px)!important;
  object-fit:contain!important;
  opacity:1!important;
  z-index:1!important;
}
.brand-monogram{
  position:absolute!important;
  inset:auto 3px 5px auto!important;
  width:25px!important;
  height:29px!important;
  display:grid!important;
  place-items:center!important;
  z-index:3!important;
  font:700 28px/.95 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.08em!important;
  border-radius:48%!important;
  pointer-events:none!important;
}
.theme-paintings .brand-monogram,
.theme-gateway .brand-monogram{
  color:#b98745!important;
  background:radial-gradient(circle at 35% 30%,#f8efe4,#dfc9af 72%,#c5a174)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.55),0 0 1px #805a31!important;
}

/* Category hero: roughly 50% larger mosaic, with the text still centered on the left. */
.painting-category-page .hero{padding:28px 0 24px!important}
.painting-category-page .hero-panel{
  grid-template-columns:minmax(0,.78fr) minmax(520px,1.22fr)!important;
  align-items:stretch!important;
}
.painting-category-page .hero-copy{
  padding:38px 42px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.painting-category-page .category-hero-mosaic{
  height:clamp(470px,58vh,610px)!important;
  min-height:470px!important;
  align-self:center!important;
  margin:14px 14px 14px 0!important;
  border-radius:22px!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile{
  overflow:hidden!important;
  background:#e8dccd!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* Lightbox: full image at default size, scrollable zoom, and card-style title divider. */
.gallery-lightbox-dialog{
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:10px!important;
}
.gallery-lightbox-image-wrap{
  overflow:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:#9b703e rgba(255,255,255,.08)!important;
}
.gallery-lightbox-image-wrap img{
  flex:none!important;
  object-fit:contain!important;
}
.gallery-lightbox-zoom-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  color:#f5eadc!important;
}
.gallery-lightbox-zoom-controls button{
  min-width:42px!important;
  height:34px!important;
  padding:0 11px!important;
  border-radius:999px!important;
  border:1px solid rgba(235,211,174,.28)!important;
  background:rgba(33,27,23,.84)!important;
  color:#fff5e7!important;
  cursor:pointer!important;
  font:700 16px/1 Arial,sans-serif!important;
}
.gallery-lightbox-zoom-controls .gallery-lightbox-zoom-reset{
  min-width:64px!important;
  font-size:12px!important;
  letter-spacing:.06em!important;
}
.gallery-lightbox-zoom-controls button:hover:not(:disabled){background:#8b6338!important}
.gallery-lightbox-zoom-controls button:disabled{opacity:.35!important;cursor:default!important}
.gallery-lightbox-meta{
  width:min(560px,92%)!important;
  margin:0 auto!important;
}
.gallery-lightbox-title{
  position:relative!important;
  display:block!important;
  padding:0 0 18px!important;
  margin:0 0 8px!important;
  font:700 21px/1.18 Georgia,"Times New Roman",serif!important;
  color:#fff4e4!important;
}
.gallery-lightbox-title::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:5px!important;
  width:190px!important;
  max-width:72%!important;
  height:1px!important;
  transform:translateX(-50%)!important;
  background:linear-gradient(90deg,transparent,rgba(214,174,112,.8) 20%,#b9894d 50%,rgba(214,174,112,.8) 80%,transparent)!important;
}
.gallery-lightbox-title::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:2px!important;
  width:7px!important;
  height:7px!important;
  transform:translateX(-50%) rotate(45deg)!important;
  background:#b9894d!important;
  border:1px solid #2b231e!important;
}
.gallery-lightbox-counter{
  font-size:12px!important;
  letter-spacing:.14em!important;
  color:#d8c5a7!important;
  margin-top:2px!important;
}

@media(max-width:1180px){
  .painting-category-page .hero-panel{grid-template-columns:minmax(0,.9fr) minmax(440px,1.1fr)!important}
  .painting-category-page .category-hero-mosaic{height:clamp(430px,52vh,540px)!important;min-height:430px!important}
}
@media(max-width:980px){
  .painting-category-page .hero-panel{grid-template-columns:1fr!important}
  .painting-category-page .category-hero-mosaic{height:clamp(420px,58vw,540px)!important;min-height:420px!important;margin:0 18px 18px!important}
}
@media(max-width:620px){
  .painting-category-page .category-hero-mosaic{height:360px!important;min-height:360px!important;margin:0 12px 14px!important}
  .gallery-lightbox-title{font-size:18px!important}
  .gallery-lightbox-zoom-controls{margin-top:4px!important}
}

/* ===== v17 gallery / identity refinements ===== */
/* Restore the original GB emblem artwork in a clean circular badge. */
.brand-mark{
  position:relative!important;
  width:62px!important;
  height:62px!important;
  flex:0 0 62px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:50%!important;
  padding:6px!important;
  background:radial-gradient(circle at 36% 30%,#f8efe4 0%,#dfc9af 70%,#b88a55 100%)!important;
  border:1px solid rgba(128,88,48,.36)!important;
  box-shadow:0 8px 20px rgba(62,43,28,.16),inset 0 0 0 1px rgba(255,255,255,.32)!important;
}
.brand-mark img{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  opacity:1!important;
  filter:drop-shadow(0 2px 4px rgba(65,45,28,.18))!important;
  z-index:auto!important;
}
.brand-monogram{display:none!important}

/* Landing page: prominent identity between the artist name and language control. */
.landing-bar{
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) auto minmax(180px,1fr)!important;
  align-items:center!important;
  gap:24px!important;
}
.landing-bar>.lang-toggle{justify-self:end!important}
.landing-site-title{
  justify-self:center!important;
  white-space:nowrap!important;
  font:700 clamp(28px,3vw,44px)/1 Georgia,"Times New Roman",serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:#4d3829!important;
  text-shadow:0 1px 0 rgba(255,255,255,.55)!important;
}

/* Paintings overview: seven identical cards, four on top and three centered below.
   The second row is Animals / Other / Brutalist, so Other sits exactly between them. */
.paintings-overview .category-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:22px!important;
  width:100%!important;
}
.paintings-overview .category-card{
  flex:0 0 calc((100% - 66px)/4)!important;
  width:calc((100% - 66px)/4)!important;
  min-width:0!important;
  height:310px!important;
  display:flex!important;
  flex-direction:column!important;
  margin:0!important;
}
.paintings-overview .category-card>img,
.paintings-overview .category-card>.category-placeholder-image{
  width:100%!important;
  height:240px!important;
  min-height:240px!important;
  max-height:240px!important;
  flex:0 0 240px!important;
  object-fit:cover!important;
  aspect-ratio:auto!important;
}
.paintings-overview .category-card .caption{
  min-height:68px!important;
  flex:1 1 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.paintings-overview .category-card h3{margin:0!important;text-align:center!important}

/* Category hero: enlarge the four-picture mosaic by another ~2 cm on desktop. */
.painting-category-page .hero{padding:24px 0 26px!important}
.painting-category-page .hero-panel{
  grid-template-columns:minmax(300px,.58fr) minmax(650px,1.42fr)!important;
  align-items:stretch!important;
}
.painting-category-page .hero-copy{
  padding:38px 34px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.painting-category-page .category-hero-mosaic{
  height:clamp(560px,64vh,690px)!important;
  min-height:560px!important;
  margin:14px 14px 14px 0!important;
  align-self:center!important;
}

/* Expanded studio / exhibition gallery. */
.gallery-strip-expanded{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.gallery-strip-expanded .mini-photo{aspect-ratio:16/10!important}
.gallery-strip-expanded .mini-photo img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Lightbox zoom: zoomed images participate in layout so scrolling/panning works. */
.gallery-lightbox-image-wrap{
  overflow:auto!important;
  overscroll-behavior:contain!important;
}
.gallery-lightbox-image-wrap.is-zoomed{
  display:block!important;
  text-align:center!important;
  place-items:initial!important;
  align-items:initial!important;
  justify-content:initial!important;
}
.gallery-lightbox-image-wrap.is-zoomed img{
  display:block!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
.gallery-lightbox-zoom-controls button{
  position:relative!important;
  z-index:10!important;
  pointer-events:auto!important;
}

@media(max-width:1180px){
  .painting-category-page .hero-panel{grid-template-columns:minmax(300px,.72fr) minmax(540px,1.28fr)!important}
  .painting-category-page .category-hero-mosaic{height:clamp(520px,58vh,620px)!important;min-height:520px!important}
}
@media(max-width:980px){
  .paintings-overview .category-card{flex-basis:calc((100% - 22px)/2)!important;width:calc((100% - 22px)/2)!important}
  .painting-category-page .hero-panel{grid-template-columns:1fr!important}
  .painting-category-page .category-hero-mosaic{height:clamp(440px,62vw,580px)!important;min-height:440px!important;margin:0 18px 18px!important}
  .gallery-strip-expanded{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .landing-bar{grid-template-columns:1fr auto!important;gap:12px!important}
  .landing-site-title{grid-column:1 / -1!important;grid-row:2!important;font-size:30px!important;margin-top:4px!important}
}
@media(max-width:620px){
  .brand-mark{width:56px!important;height:56px!important;flex-basis:56px!important;padding:5px!important}
  .paintings-overview .category-card{flex-basis:100%!important;width:100%!important;height:300px!important}
  .paintings-overview .category-card>img,
  .paintings-overview .category-card>.category-placeholder-image{height:230px!important;min-height:230px!important;max-height:230px!important;flex-basis:230px!important}
  .painting-category-page .category-hero-mosaic{height:390px!important;min-height:390px!important;margin:0 12px 14px!important}
  .gallery-strip-expanded{grid-template-columns:1fr!important}
  .landing-site-title{font-size:26px!important;letter-spacing:.10em!important}
}


/* ===== v18 refinements ===== */
.landing-site-title{display:flex!important;align-items:center!important;justify-content:center!important}
.landing-site-title img{display:block!important;width:auto!important;height:82px!important;max-width:min(48vw,600px)!important}

.paintings-overview .category-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.paintings-overview .category-card,
.paintings-overview .category-card--coming-soon{
  width:100%!important;
  min-width:0!important;
  height:310px!important;
  display:flex!important;
  flex-direction:column!important;
  margin:0!important;
}
.paintings-overview .category-card--coming-soon{
  border-radius:26px!important;
  overflow:hidden!important;
  border:1px solid rgba(122,90,58,.18)!important;
  background:linear-gradient(180deg,#f0e3d3,#ddc6ac)!important;
  box-shadow:0 18px 34px rgba(55,41,29,.10)!important;
}
.paintings-overview .category-card--coming-soon .caption{
  flex-direction:column!important;
  gap:2px!important;
}
.paintings-overview .category-card--coming-soon small{
  font:700 11px/1.1 Arial,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  color:#8a6338!important;
}
.paintings-overview .category-card--coming-soon .category-placeholder-image{
  background:radial-gradient(circle at 35% 30%,rgba(184,138,68,.22),transparent 46%),linear-gradient(145deg,#efe0cf,#d1baa3)!important;
}

/* Return the category hero proportions to the calmer v16 balance, while keeping a touch more vertical breathing room. */
.painting-category-page .hero{padding:34px 0 34px!important}
.painting-category-page .hero-panel{
  grid-template-columns:minmax(0,.80fr) minmax(520px,1.20fr)!important;
  align-items:stretch!important;
  min-height:560px!important;
}
.painting-category-page .hero-copy{
  padding:46px 42px!important;
  min-height:100%!important;
}
.painting-category-page .category-hero-mosaic{
  height:clamp(470px,58vh,610px)!important;
  min-height:470px!important;
  margin:14px 14px 14px 0!important;
  align-self:center!important;
}
@media(max-width:1180px){
  .painting-category-page .hero-panel{grid-template-columns:minmax(0,.9fr) minmax(440px,1.1fr)!important;min-height:0!important}
  .painting-category-page .category-hero-mosaic{height:clamp(430px,52vh,540px)!important;min-height:430px!important}
}
@media(max-width:980px){
  .paintings-overview .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .paintings-overview .category-card,.paintings-overview .category-card--coming-soon{height:310px!important}
  .painting-category-page .hero-panel{grid-template-columns:1fr!important;min-height:0!important}
  .painting-category-page .category-hero-mosaic{height:clamp(420px,58vw,540px)!important;min-height:420px!important;margin:0 18px 18px!important}
}
@media(max-width:620px){
  .landing-site-title img{height:70px!important;max-width:min(78vw,420px)!important}
  .paintings-overview .category-grid{grid-template-columns:1fr!important}
  .paintings-overview .category-card,.paintings-overview .category-card--coming-soon{height:300px!important}
  .painting-category-page .hero{padding:24px 0 24px!important}
  .painting-category-page .hero-copy{padding:30px 22px!important}
  .painting-category-page .category-hero-mosaic{height:360px!important;min-height:360px!important;margin:0 12px 14px!important}
}


/* ===== v19 refinements ===== */
.landing-site-title{background:none!important;box-shadow:none!important;padding:0!important}
.landing-site-title img{
  height:156px!important;
  max-width:min(76vw,980px)!important;
  width:auto!important;
  object-fit:contain!important;
  filter:none!important;
}
@media(max-width:980px){.landing-site-title img{height:126px!important;max-width:min(84vw,760px)!important}}
@media(max-width:620px){.landing-site-title img{height:96px!important;max-width:min(90vw,520px)!important}}

.about-gallery-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
@media(max-width:620px){.about-gallery-grid{grid-template-columns:1fr!important}}

/* Hover dropdown should stay open while moving the mouse downward. */
.theme-paintings .dropdown,
.theme-gateway .dropdown{padding-bottom:14px!important;margin-bottom:-14px!important}
.theme-paintings .dropdown-menu,
.theme-gateway .dropdown-menu{top:calc(100% + 2px)!important}
.theme-paintings .dropdown:hover .dropdown-menu,
.theme-paintings .dropdown:focus-within .dropdown-menu,
.theme-gateway .dropdown:hover .dropdown-menu,
.theme-gateway .dropdown:focus-within .dropdown-menu{display:block!important}

/* All eight painting categories aligned together in one unified 4x2 grid. */
.paintings-overview .category-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.paintings-overview .category-grid > *{grid-column:auto!important}
.paintings-overview .category-card,
.paintings-overview .category-card--coming-soon{height:312px!important;width:100%!important;min-width:0!important}
.paintings-overview .category-card img,
.paintings-overview .category-placeholder-image{height:236px!important}
@media(max-width:980px){.paintings-overview .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.paintings-overview .category-grid{grid-template-columns:1fr!important}}


/* ===== v20 refinements ===== */
/* Landing page Gallo Art wordmark: same header height, no box, only brush letters over the existing background. */
.landing-site-title{background:none!important;box-shadow:none!important;padding:0!important}
.landing-site-title img{
  background:transparent!important;
  filter:none!important;
  mix-blend-mode:multiply!important;
  display:block!important;
  width:auto!important;
  height:80px!important;
  max-width:min(56vw,760px)!important;
}
@media (max-width:800px){
  .landing-site-title img{height:66px!important;max-width:min(82vw,460px)!important}
}

/* Desktop paintings dropdown should open purely on hover and remain open while the mouse moves downward. */
@media (min-width:981px) and (pointer:fine){
  .dropdown{padding-bottom:18px!important;margin-bottom:-18px!important}
  .dropdown-toggle{pointer-events:none!important}
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu,
  .dropdown.open .dropdown-menu{display:block!important}
  .dropdown-menu{top:calc(100% + 2px)!important}
}
.dropdown-menu .dropdown-disabled,
.dropdown-menu .dropdown-home-link[data-i18n="cat_future"]{display:block;padding:9px 12px;border-radius:12px;color:var(--ink);opacity:.86}

/* Lightbox: make the painting itself much larger, keep meta compact, and allow drag-pan when zoomed. */
.gallery-lightbox{padding:10px 22px!important}
.gallery-lightbox-dialog{
  width:min(96vw,1580px)!important;
  max-height:96vh!important;
  padding:16px 18px 12px!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:8px!important;
}
.gallery-lightbox-image-wrap{
  max-height:calc(96vh - 110px)!important;
  min-height:60vh!important;
  background:rgba(14,12,10,.82)!important;
  border-radius:18px!important;
  cursor:grab!important;
}
.gallery-lightbox-image-wrap.is-dragging{cursor:grabbing!important}
.gallery-lightbox-image-wrap img{
  max-width:none!important;
  max-height:none!important;
}
.gallery-lightbox-meta{
  width:min(1120px,96%)!important;
  margin:0 auto!important;
  padding-top:0!important;
}
.gallery-lightbox-title{
  text-align:left!important;
  font-size:18px!important;
  margin:0 0 4px!important;
  padding:0 86px 10px 0!important;
}
.gallery-lightbox-title::before{
  left:0!important;
  transform:none!important;
  width:150px!important;
  max-width:100%!important;
}
.gallery-lightbox-title::after{
  left:72px!important;
  transform:rotate(45deg)!important;
}
.gallery-lightbox-counter{
  text-align:left!important;
  margin-top:0!important;
}
.gallery-lightbox-zoom-controls{
  gap:10px!important;
  margin-top:0!important;
}
.gallery-lightbox-prev,.gallery-lightbox-next{
  width:58px!important;
  height:58px!important;
  background:rgba(30,24,20,.86)!important;
}
.gallery-lightbox-prev{left:10px!important}
.gallery-lightbox-next{right:10px!important}
@media (max-width:720px){
  .gallery-lightbox{padding:10px 10px 74px!important}
  .gallery-lightbox-dialog{width:100%!important;max-height:calc(100vh - 84px)!important;padding:12px!important}
  .gallery-lightbox-image-wrap{max-height:calc(100vh - 180px)!important;min-height:48vh!important}
  .gallery-lightbox-title{text-align:center!important;padding-right:0!important}
  .gallery-lightbox-title::before{left:50%!important;transform:translateX(-50%)!important}
  .gallery-lightbox-title::after{left:50%!important;transform:translateX(-50%) rotate(45deg)!important}
  .gallery-lightbox-counter{text-align:center!important}
}

/* ===== v21 requested refinements ===== */
/* Keep the v17 landing header height; make only the Gallo Art mark much wider. */
.landing-header{padding:16px 0!important;overflow:visible!important}
.landing-bar{
  display:grid!important;
  grid-template-columns:minmax(270px,1fr) minmax(430px,1.55fr) minmax(150px,.7fr)!important;
  align-items:center!important;
  gap:20px!important;
  min-height:62px!important;
}
.landing-site-title{
  justify-self:center!important;
  overflow:visible!important;
  background:none!important;
  box-shadow:none!important;
  padding:0!important;
}
.landing-site-title img{
  height:80px!important;
  width:auto!important;
  max-width:none!important;
  transform:scaleX(2.6)!important;
  transform-origin:center center!important;
  mix-blend-mode:multiply!important;
  background:transparent!important;
  filter:none!important;
}
@media(max-width:980px){
  .landing-bar{grid-template-columns:1fr auto!important;gap:12px!important}
  .landing-site-title{grid-column:1 / -1!important;grid-row:2!important}
  .landing-site-title img{height:66px!important;transform:scaleX(2.05)!important}
}
@media(max-width:620px){
  .landing-site-title img{height:58px!important;transform:scaleX(1.72)!important}
}

/* All painting dropdowns share the same order and neutral category treatment. */
.dropdown-menu .dropdown-future{
  color:inherit!important;
  background:transparent!important;
  font-weight:400!important;
  opacity:1!important;
}
.dropdown-menu .dropdown-future:hover{
  background:#ead9c5!important;
  color:#5f4127!important;
}
@media(min-width:981px) and (pointer:fine){
  .dropdown{padding-bottom:18px!important;margin-bottom:-18px!important}
  .dropdown-toggle{cursor:default!important}
  .dropdown-menu{top:calc(100% + 2px)!important}
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu,
  .dropdown.open .dropdown-menu{display:block!important}
}

/* Lightbox: maximize the artwork area; controls and captions stay compact below it. */
.gallery-lightbox{
  padding:6px 12px!important;
  align-items:center!important;
  justify-content:center!important;
}
.gallery-lightbox-dialog{
  width:min(99vw,1760px)!important;
  height:calc(100vh - 12px)!important;
  max-height:none!important;
  padding:10px 14px 8px!important;
  border-radius:20px!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:5px!important;
}
.gallery-lightbox-image-wrap{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:auto!important;
  background:rgba(13,11,9,.88)!important;
  border-radius:16px!important;
  cursor:grab!important;
  overscroll-behavior:contain!important;
  touch-action:none!important;
}
.gallery-lightbox-image-wrap.is-dragging{cursor:grabbing!important}
.gallery-lightbox-image-wrap img{
  flex:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
.gallery-lightbox-zoom-controls{
  margin:0!important;
  min-height:32px!important;
  gap:8px!important;
}
.gallery-lightbox-zoom-controls button{
  height:30px!important;
  min-width:40px!important;
  padding:0 10px!important;
}
.gallery-lightbox-meta{
  width:min(620px,92%)!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:center!important;
}
.gallery-lightbox-title{
  text-align:center!important;
  font-size:18px!important;
  line-height:1.15!important;
  padding:0 0 15px!important;
  margin:0 0 3px!important;
}
.gallery-lightbox-title::before{
  left:50%!important;
  bottom:4px!important;
  width:180px!important;
  transform:translateX(-50%)!important;
}
.gallery-lightbox-title::after{
  left:50%!important;
  bottom:1px!important;
  transform:translateX(-50%) rotate(45deg)!important;
}
.gallery-lightbox-counter{
  text-align:center!important;
  font-size:11px!important;
  margin:0!important;
}
.gallery-lightbox-prev,.gallery-lightbox-next{
  top:50%!important;
  bottom:auto!important;
  width:58px!important;
  height:58px!important;
  transform:translateY(-50%)!important;
  z-index:12!important;
  background:rgba(28,23,19,.82)!important;
  border:1px solid rgba(231,204,165,.30)!important;
}
.gallery-lightbox-prev{left:18px!important}
.gallery-lightbox-next{right:18px!important}
.gallery-lightbox-close{right:12px!important;top:12px!important;z-index:14!important}
@media(max-width:720px){
  .gallery-lightbox{padding:6px 8px 68px!important}
  .gallery-lightbox-dialog{width:100%!important;height:calc(100vh - 74px)!important;padding:8px!important}
  .gallery-lightbox-prev,.gallery-lightbox-next{top:auto!important;bottom:-56px!important;transform:none!important}
  .gallery-lightbox-prev{left:calc(50% - 70px)!important}
  .gallery-lightbox-next{right:calc(50% - 70px)!important}
}


/* ===== v22 final gallery refinements ===== */
/* Keep the v17 header dimensions; render a larger, crisp Gallo Art wordmark without CSS scaling blur. */
.landing-header{padding:16px 0!important;overflow:visible!important}
.landing-bar{min-height:62px!important}
.landing-site-title{background:none!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
.landing-site-title img{
  width:600px!important;
  height:80px!important;
  max-width:none!important;
  object-fit:fill!important;
  transform:none!important;
  mix-blend-mode:multiply!important;
  image-rendering:auto!important;
  filter:none!important;
}
@media(max-width:980px){
  .landing-site-title img{width:470px!important;height:64px!important;transform:none!important}
}
@media(max-width:620px){
  .landing-site-title img{width:min(92vw,390px)!important;height:58px!important;transform:none!important}
}

/* Lightbox: the artwork dominates the viewport; controls stay compact below. */
.gallery-lightbox{padding:4px 8px!important}
.gallery-lightbox-dialog{
  width:min(99.5vw,1900px)!important;
  height:calc(100vh - 8px)!important;
  max-height:none!important;
  padding:8px 10px 6px!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:4px 10px!important;
  border-radius:18px!important;
}
.gallery-lightbox-image-wrap{
  grid-column:1 / -1!important;
  grid-row:1!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(10,9,8,.92)!important;
  border-radius:14px!important;
  cursor:grab!important;
  touch-action:none!important;
}
.gallery-lightbox-image-wrap.is-zoomed{
  display:block!important;
  text-align:center!important;
}
.gallery-lightbox-image-wrap.is-dragging{cursor:grabbing!important}
.gallery-lightbox-image-wrap img{
  flex:none!important;
  object-fit:contain!important;
  object-position:center!important;
  image-rendering:auto!important;
}
.gallery-lightbox-meta{
  grid-column:2!important;
  grid-row:2!important;
  width:min(520px,54vw)!important;
  margin:0 auto!important;
  padding:1px 0 0!important;
  text-align:center!important;
}
.gallery-lightbox-title{
  text-align:center!important;
  font-size:16px!important;
  line-height:1.1!important;
  padding:0 0 12px!important;
  margin:0!important;
}
.gallery-lightbox-title::before{
  left:50%!important;
  bottom:3px!important;
  width:150px!important;
  transform:translateX(-50%)!important;
}
.gallery-lightbox-title::after{
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%) rotate(45deg)!important;
}
.gallery-lightbox-counter{
  text-align:center!important;
  font-size:10px!important;
  line-height:1!important;
  margin:1px 0 0!important;
  letter-spacing:.12em!important;
}
.gallery-lightbox-zoom-controls{
  grid-column:3!important;
  grid-row:2!important;
  justify-self:end!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0 6px 0 0!important;
  min-height:28px!important;
}
.gallery-lightbox-zoom-controls button{
  height:28px!important;
  min-width:36px!important;
  padding:0 8px!important;
  font-size:13px!important;
}
.gallery-lightbox-zoom-controls .gallery-lightbox-zoom-reset{
  min-width:52px!important;
  font-size:10px!important;
}
.gallery-lightbox-prev,.gallery-lightbox-next{
  top:50%!important;
  bottom:auto!important;
  width:54px!important;
  height:72px!important;
  transform:translateY(-50%)!important;
  z-index:12!important;
  background:rgba(25,20,17,.76)!important;
  border:1px solid rgba(231,204,165,.25)!important;
}
.gallery-lightbox-prev{left:8px!important}
.gallery-lightbox-next{right:8px!important}
.gallery-lightbox-close{right:10px!important;top:10px!important;z-index:14!important}

@media(max-width:720px){
  .gallery-lightbox{padding:4px 6px 64px!important}
  .gallery-lightbox-dialog{
    width:100%!important;
    height:calc(100vh - 68px)!important;
    grid-template-columns:1fr auto!important;
    grid-template-rows:minmax(0,1fr) auto auto!important;
  }
  .gallery-lightbox-image-wrap{grid-column:1 / -1!important;grid-row:1!important}
  .gallery-lightbox-meta{grid-column:1 / -1!important;grid-row:2!important;width:92%!important}
  .gallery-lightbox-zoom-controls{grid-column:1 / -1!important;grid-row:3!important;justify-self:center!important;margin:0!important}
  .gallery-lightbox-prev,.gallery-lightbox-next{top:auto!important;bottom:-56px!important;transform:none!important;width:56px!important;height:44px!important}
  .gallery-lightbox-prev{left:calc(50% - 70px)!important}
  .gallery-lightbox-next{right:calc(50% - 70px)!important}
}


/* ===== v23 final request refinements ===== */
/* Main-page Gallo Art wordmark: transparent, no boxed background, wider but still crisp. */
.landing-site-title{background:none!important;box-shadow:none!important;padding:0!important;overflow:visible!important;isolation:isolate!important}
.landing-site-title img{
  display:block!important;
  width:min(70vw,980px)!important;
  height:58px!important;
  max-width:none!important;
  object-fit:fill!important;
  image-rendering:auto!important;
  filter:none!important;
  background:transparent!important;
  mix-blend-mode:multiply!important;
}
@media(max-width:1100px){
  .landing-site-title img{width:min(62vw,820px)!important;height:52px!important}
}
@media(max-width:800px){
  .landing-site-title img{width:min(86vw,560px)!important;height:44px!important}
}

/* Keep the future category visually neutral rather than looking selected. */
.dropdown-menu .dropdown-future,
.dropdown-menu .dropdown-future:hover,
.dropdown-menu .dropdown-future:focus-visible{
  background:transparent!important;
  color:var(--ink)!important;
  border:none!important;
  box-shadow:none!important;
}

/* Lightbox: place title + counter centered below the zoom controls, leaving maximum space for the artwork. */
.gallery-lightbox-dialog{
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:6px!important;
}
.gallery-lightbox-image-wrap{grid-column:1!important;grid-row:1!important}
.gallery-lightbox-zoom-controls{
  grid-column:1!important;
  grid-row:2!important;
  justify-self:center!important;
  align-self:center!important;
  margin:0 auto!important;
}
.gallery-lightbox-meta{
  grid-column:1!important;
  grid-row:3!important;
  width:min(820px,92vw)!important;
  margin:0 auto!important;
  padding:0 0 2px!important;
  text-align:center!important;
}
.gallery-lightbox-title{font-size:16px!important;padding:0 0 12px!important;margin:0!important;text-align:center!important}
.gallery-lightbox-counter{margin:0!important;text-align:center!important}
@media(max-width:720px){
  .gallery-lightbox-dialog{height:calc(100vh - 60px)!important;padding:8px!important}
  .gallery-lightbox-image-wrap{max-height:none!important}
}

/* ===== v24 precision asset + storage cleanup ===== */
/* GA emblem: use the approved transparent artwork inside the existing circular site-colored badge. */
.brand-mark img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
  filter:none!important;
}

/* Main-page Gallo Art: exact latest transparent artwork, no white box and no horizontal distortion. */
.landing-header{overflow:visible!important}
.landing-bar{position:relative!important;min-height:62px!important}
.landing-site-title{
  position:relative!important;
  height:62px!important;
  min-width:430px!important;
  overflow:visible!important;
  background:none!important;
  box-shadow:none!important;
  padding:0!important;
}
.landing-site-title img{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:460px!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  transform:translate(-50%,-50%)!important;
  object-fit:contain!important;
  background:transparent!important;
  mix-blend-mode:multiply!important;
  image-rendering:auto!important;
  filter:none!important;
}
@media(max-width:1100px){
  .landing-site-title{min-width:350px!important}
  .landing-site-title img{width:390px!important}
}
@media(max-width:800px){
  .landing-site-title{min-width:0!important;width:100%!important;height:58px!important}
  .landing-site-title img{width:min(86vw,360px)!important}
}

/* Lightbox: artwork gets maximum space; zoom tools then centered title/counter below. */
.gallery-lightbox{padding:4px 8px!important}
.gallery-lightbox-dialog{
  width:min(99vw,1900px)!important;
  height:calc(100vh - 8px)!important;
  max-height:none!important;
  padding:8px 10px 6px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:4px!important;
}
.gallery-lightbox-image-wrap{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(10,9,8,.94)!important;
  border-radius:14px!important;
  cursor:grab!important;
  touch-action:none!important;
}
.gallery-lightbox-image-wrap.is-dragging{cursor:grabbing!important}
.gallery-lightbox-image-wrap.is-zoomed{display:block!important;text-align:center!important}
.gallery-lightbox-image-wrap.is-zoomed img{display:block!important;margin:0 auto!important}
.gallery-lightbox-zoom-controls{
  grid-column:1!important;
  grid-row:2!important;
  justify-self:center!important;
  align-self:center!important;
  margin:0!important;
  min-height:28px!important;
}
.gallery-lightbox-meta{
  grid-column:1!important;
  grid-row:3!important;
  width:min(760px,92vw)!important;
  margin:0 auto!important;
  padding:0 0 2px!important;
  text-align:center!important;
}
.gallery-lightbox-title{
  text-align:center!important;
  font-size:16px!important;
  line-height:1.1!important;
  padding:0 0 11px!important;
  margin:0!important;
}
.gallery-lightbox-counter{text-align:center!important;font-size:10px!important;margin:0!important}
.gallery-lightbox-prev,.gallery-lightbox-next{
  top:50%!important;
  bottom:auto!important;
  width:54px!important;
  height:72px!important;
  transform:translateY(-50%)!important;
  z-index:12!important;
  background:rgba(25,20,17,.76)!important;
}
.gallery-lightbox-prev{left:8px!important}
.gallery-lightbox-next{right:8px!important}
.gallery-lightbox-close{right:10px!important;top:10px!important;z-index:14!important}

/* v25 refinements: cleaner header treatment and more professional gallery viewing */
body.theme-gateway .landing-header{
  background:linear-gradient(180deg,rgba(227,217,205,.94),rgba(220,210,198,.88))!important;
  border-bottom:1px solid rgba(82,63,46,.12)!important;
}
body.theme-gateway .landing-bar{
  grid-template-columns:minmax(280px,1fr) minmax(420px,1.95fr) auto!important;
  gap:24px!important;
}
.landing-site-title{
  min-width:0!important;
  width:100%!important;
  background:none!important;
  box-shadow:none!important;
  padding:0!important;
  overflow:visible!important;
}
.landing-site-title img{
  display:block!important;
  width:min(72vw,980px)!important;
  height:auto!important;
  max-height:78px!important;
  object-fit:contain!important;
  object-position:left center!important;
  mix-blend-mode:multiply!important;
  opacity:.97!important;
}
.brand-mark{
  width:64px!important;
  height:64px!important;
  padding:3px!important;
}
.brand-mark img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
@media(max-width:980px){
  body.theme-gateway .landing-bar{grid-template-columns:1fr!important;justify-items:center!important}
  .landing-site-title{justify-content:center!important}
  .landing-site-title img{width:min(88vw,760px)!important;max-height:72px!important;object-position:center center!important}
}
@media(max-width:620px){
  .landing-site-title img{width:min(92vw,480px)!important;max-height:58px!important}
}

.painting-category-page .artwork-grid--catalog{
  align-items:stretch!important;
}
.painting-category-page .artwork-card .art-media--full,
.painting-category-page .artwork-card .art-media--full img{
  object-fit:contain!important;
  background:linear-gradient(180deg,#f6efe5,#eee3d4)!important;
}

.gallery-lightbox{
  padding:18px 20px 14px!important;
  background:rgba(11,9,8,.965)!important;
}
.gallery-lightbox-dialog{
  width:min(1480px,96vw)!important;
  height:min(94vh,980px)!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:10px!important;
}
.gallery-lightbox-image-wrap{
  width:100%!important;
  height:100%!important;
  overflow:auto!important;
  padding:6px 58px!important;
  cursor:zoom-in!important;
  scrollbar-width:thin!important;
}
.gallery-lightbox-image-wrap.is-zoomed{cursor:grab!important}
.gallery-lightbox-image-wrap.is-dragging{cursor:grabbing!important}
.gallery-lightbox img{
  display:block!important;
  margin:auto!important;
  border-radius:6px!important;
  box-shadow:0 20px 58px rgba(0,0,0,.5)!important;
}
.gallery-lightbox-zoom-controls{
  grid-column:1!important;
  grid-row:2!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
}
.gallery-lightbox-zoom-controls button{
  min-width:48px!important;
  height:42px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  border:1px solid rgba(234,211,174,.26)!important;
  background:rgba(33,26,22,.84)!important;
  color:#fff4e0!important;
  font:700 16px/1 Arial,sans-serif!important;
}
.gallery-lightbox-zoom-controls .gallery-lightbox-zoom-reset{
  min-width:74px!important;
}
.gallery-lightbox-meta{
  grid-column:1!important;
  grid-row:3!important;
  padding-top:0!important;
  text-align:center!important;
}
.gallery-lightbox-title{
  font-size:20px!important;
  margin-bottom:6px!important;
}
.gallery-lightbox-counter{
  font-size:12px!important;
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next{
  background:rgba(27,22,18,.78)!important;
  border:1px solid rgba(234,211,174,.25)!important;
  box-shadow:0 14px 28px rgba(0,0,0,.28)!important;
}
.gallery-lightbox-close{
  top:10px!important;
  right:10px!important;
}
.gallery-lightbox-prev,
.gallery-lightbox-next{
  top:calc(50% - 46px)!important;
  width:56px!important;
  height:92px!important;
  border-radius:18px!important;
  font-size:42px!important;
}
.gallery-lightbox-prev{left:8px!important}
.gallery-lightbox-next{right:8px!important}
.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{transform:none!important}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover,
.gallery-lightbox-zoom-controls button:hover:not(:disabled){
  background:rgba(128,94,56,.92)!important;
}
@media(max-width:820px){
  .gallery-lightbox{padding:14px 10px 12px!important}
  .gallery-lightbox-dialog{width:100%!important;height:92vh!important}
  .gallery-lightbox-image-wrap{padding:4px 8px!important}
  .gallery-lightbox-prev,.gallery-lightbox-next{width:48px!important;height:76px!important;top:calc(50% - 38px)!important}
  .gallery-lightbox-title{font-size:18px!important}
}

/* ===== v27 landing alignment, mosaic dividers, and lightbox close behavior ===== */
/* Keep the Gallo Art wordmark visually centered over the gap between the two main landing choices. */
body.theme-gateway .landing-bar{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) auto!important;
  align-items:center!important;
  gap:24px!important;
}
body.theme-gateway .landing-bar>.brand{grid-column:1!important;justify-self:start!important}
body.theme-gateway .landing-bar>.lang-toggle{grid-column:2!important;justify-self:end!important}
body.theme-gateway .landing-site-title{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:min(54vw,760px)!important;
  min-width:420px!important;
  height:auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  pointer-events:none!important;
  z-index:2!important;
}
body.theme-gateway .landing-site-title img{
  width:100%!important;
  max-width:760px!important;
  height:auto!important;
  max-height:74px!important;
  object-fit:contain!important;
  object-position:center center!important;
}
@media(max-width:1100px){
  body.theme-gateway .landing-site-title{width:min(46vw,620px)!important;min-width:350px!important}
}
@media(max-width:980px){
  body.theme-gateway .landing-bar{
    grid-template-columns:1fr auto!important;
    grid-template-rows:auto auto!important;
    row-gap:10px!important;
  }
  body.theme-gateway .landing-site-title{
    position:static!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    transform:none!important;
    width:100%!important;
    min-width:0!important;
    justify-self:center!important;
  }
  body.theme-gateway .landing-site-title img{width:min(88vw,700px)!important;max-height:68px!important}
}
@media(max-width:620px){
  body.theme-gateway .landing-site-title img{width:min(92vw,470px)!important;max-height:56px!important}
}

/* Make the four-image category mosaic read as four deliberate artworks rather than one merged block. */
.painting-category-page .category-hero-mosaic:not(.mosaic-count-1):not(.mosaic-empty){
  gap:8px!important;
  padding:8px!important;
  background:#cbb08e!important;
  border:1px solid rgba(126,91,54,.24)!important;
  box-shadow:inset 0 0 0 1px rgba(255,250,241,.45)!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile{
  border:1px solid rgba(255,249,239,.62)!important;
  box-shadow:0 0 0 1px rgba(76,54,37,.12)!important;
}
.painting-category-page .category-hero-mosaic .mosaic-tile::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  box-shadow:inset 0 0 0 1px rgba(53,39,29,.08)!important;
}
@media(max-width:620px){
  .painting-category-page .category-hero-mosaic:not(.mosaic-count-1):not(.mosaic-empty){gap:5px!important;padding:5px!important}
}


/* v28 – wider two-column Paintings menu, leaving each original link style intact. */
.theme-paintings .dropdown-menu,.theme-gateway .dropdown-menu{width:440px!important;max-width:calc(100vw - 24px)!important;left:50%!important;transform:translateX(-50%)!important}
.theme-paintings .dropdown-menu .dropdown-categories,.theme-gateway .dropdown-menu .dropdown-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}
.theme-paintings .dropdown-menu .dropdown-categories a,.theme-gateway .dropdown-menu .dropdown-categories a{margin:0!important;min-width:0;display:flex!important;justify-content:center;align-items:center;min-height:47px}
.theme-paintings .dropdown-menu .dropdown-home-link,.theme-gateway .dropdown-menu .dropdown-home-link{display:block!important;width:100%;margin:2px 0 10px!important}
@media(max-width:620px){.theme-paintings .dropdown-menu,.theme-gateway .dropdown-menu{left:0!important;transform:none!important;width:min(440px,calc(100vw - 24px))!important}.theme-paintings .dropdown-menu .dropdown-categories,.theme-gateway .dropdown-menu .dropdown-categories{grid-template-columns:1fr}}
/* Category-local numbering is outside translation-replaced headings. */
.painting-category-page .artwork-index{display:block;text-align:center;color:#987149;font:700 13px/1.5 Arial,sans-serif;letter-spacing:.19em;margin-bottom:5px}
.painting-category-page .artwork-card .art-copy h3{margin-top:0!important}
.contact-direct-section{padding-top:56px!important;min-height:calc(100vh - 240px)}
.quote-artwork-field{margin:17px 0}.quote-artwork-field input{background:rgba(199,174,139,.10);font-weight:600}
/* Additional gallery photographs reuse the existing mini-photo style. */
/* v28: The renamed future-category link has the same appearance as all category boxes. */
.theme-paintings .dropdown-menu .dropdown-categories a.dropdown-future,
.theme-gateway .dropdown-menu .dropdown-categories a.dropdown-future{border:1px solid rgba(91,63,39,.10)!important;border-radius:10px!important;background:rgba(255,255,255,.46)!important;color:#44372e!important;font-weight:700!important;box-shadow:none!important}
.theme-paintings .dropdown-menu .dropdown-categories a.dropdown-future:hover,
.theme-gateway .dropdown-menu .dropdown-categories a.dropdown-future:hover{background:rgba(178,134,79,.14)!important;border-color:rgba(134,96,56,.25)!important;color:#6f4c29!important}
.paintings-overview a.category-card--coming-soon{cursor:pointer!important;text-decoration:none}

/* v29 – artwork reference number and title share one centered heading line. */
.painting-category-page .artwork-heading{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.42em;margin:0 0 8px;text-align:center}
.painting-category-page .artwork-heading .artwork-index{display:inline!important;margin:0!important;white-space:nowrap;letter-spacing:.045em;font:700 clamp(21px,2.3vw,28px)/1.12 Georgia,serif;color:#987149}
.painting-category-page .artwork-heading h3.artwork-title{display:inline!important;margin:0!important;text-align:center;line-height:1.12}

/* v29 – concise contact and genuinely selectable repeating category/painting lines. */
.contact-direct-section{padding:24px 0 34px!important;min-height:0!important}
.contact-direct-section .contact-layout{display:grid;grid-template-columns:minmax(220px,.59fr) minmax(0,1.75fr);gap:16px;align-items:start}
.contact-direct-section .contact-card{padding:21px 22px;border-radius:18px}
.contact-direct-section .contact-card h2{font-size:clamp(25px,2.6vw,34px);line-height:1.1;margin:6px 0 15px}
.contact-direct-section .contact-card .kicker{font-size:11px}
.contact-direct-section .contact-list{gap:10px}
.contact-direct-section .contact-item{padding:12px;border-radius:12px}
.contact-item-inner{display:flex;align-items:center;gap:12px;overflow-wrap:anywhere}
.contact-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid rgba(134,96,56,.2);border-radius:50%;font:26px/1 Georgia,serif;color:var(--gold-deep)}
.contact-direct-section .contact-item strong{font-size:11px;margin:0 0 4px}
.contact-direct-section form{gap:11px}
.contact-direct-section label{display:block;font-size:11px;line-height:1.35;margin-bottom:4px;letter-spacing:.045em}
.contact-direct-section input,.contact-direct-section select,.contact-direct-section textarea{padding:10px 11px;border-radius:10px;font-size:14px;min-width:0}
.contact-direct-section .contact-person-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.artwork-selection-list{display:grid;gap:9px}
.artwork-selection-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 30px;gap:10px;align-items:end}
.quote-remove{padding:0;width:30px;height:40px;background:transparent;border:1px solid var(--line);border-radius:9px;color:var(--gold-deep);font-size:24px;cursor:pointer}
.quote-remove[hidden]{visibility:hidden;display:block}
.quote-add-bar{display:flex;justify-content:flex-start}
.quote-add{padding:7px 10px;border:1px solid rgba(134,96,56,.32);border-radius:10px;background:rgba(174,131,75,.10);color:var(--gold-deep);font:700 12px Arial,sans-serif;cursor:pointer}
.quote-add:hover,.quote-remove:hover{background:rgba(174,131,75,.19)}
.contact-direct-section textarea{min-height:76px;resize:vertical}
.contact-direct-section .quote-send-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.contact-direct-section .quote-send-row .btn{padding:10px 18px;font-size:12px;cursor:pointer}
.quote-setup-note{font:12px/1.35 Arial,sans-serif;color:var(--muted);flex:1;min-width:150px}
.quote-feedback{font:13px/1.4 Arial,sans-serif;color:var(--gold-deep);margin:0}
.quote-feedback:empty{display:none}
.quote-fallback-text{display:block;width:100%;height:120px;margin-top:10px}
@media(max-width:980px){.contact-direct-section .contact-layout{grid-template-columns:1fr}.contact-direct-section .contact-card{padding:18px}}
@media(max-width:620px){.contact-direct-section .contact-person-grid{grid-template-columns:1fr}.artwork-selection-row{grid-template-columns:1fr 1fr 26px;gap:7px}.contact-direct-section .quote-send-row{align-items:flex-start;flex-direction:column}}

.contact-direct-section .contact-item-inner div div{font-size:14px;overflow-wrap:anywhere}

/* v30 – keep every category-local artwork reference number beside its title, even for long names.
   The divider belongs to the shared line, never to the translating h3. */
.painting-category-page .artwork-card .artwork-heading{
  position:relative!important;display:flex!important;flex-flow:row nowrap!important;align-items:baseline!important;
  justify-content:center!important;gap:.35em!important;text-align:center!important;width:100%;
  margin:0 0 13px!important;padding:0 0 22px!important;border:0!important;min-width:0!important;
}
.painting-category-page .artwork-card .artwork-heading .artwork-index{
  display:block!important;flex:0 0 auto!important;align-self:baseline!important;white-space:nowrap!important;
  margin:0!important;padding:0!important;font:700 25px/1.12 Georgia,serif!important;letter-spacing:0!important;
}
.painting-category-page .artwork-card .artwork-heading h3.artwork-title{
  display:block!important;flex:0 1 auto!important;min-width:0!important;position:static!important;
  margin:0!important;padding:0!important;border:0!important;font-size:25px!important;line-height:1.12!important;
  text-align:left!important;overflow-wrap:normal!important;
}
.painting-category-page .artwork-card .artwork-heading h3.artwork-title::before,
.painting-category-page .artwork-card .artwork-heading h3.artwork-title::after{content:none!important;display:none!important}
.painting-category-page .artwork-card .artwork-heading::before{
  content:"";position:absolute;left:0;right:0;bottom:5px;height:2px;
  background:linear-gradient(90deg,rgba(134,96,56,.08),rgba(134,96,56,.75) 22%,#9b703e 50%,rgba(134,96,56,.75) 78%,rgba(134,96,56,.08));
}
.painting-category-page .artwork-card .artwork-heading::after{
  content:"";position:absolute;left:50%;bottom:0;width:9px;height:9px;box-sizing:content-box;
  background:#9b703e;border:2px solid #f7efe4;transform:translateX(-50%) rotate(45deg);border-radius:1px;
}
@media(max-width:620px){
  .painting-category-page .artwork-card .artwork-heading .artwork-index,
  .painting-category-page .artwork-card .artwork-heading h3.artwork-title{font-size:22px!important}
}
/* v30 – visually balance the direct contact information with the quotation form. */
.contact-direct-section .contact-layout{align-items:stretch!important}
.contact-direct-section .contact-card:first-child{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.contact-direct-section .contact-card:first-child .contact-list{width:min(100%,315px)}
.contact-direct-section .contact-card:first-child .contact-item-inner{text-align:left}
.contact-direct-section .quote-send-row{justify-content:center!important;width:100%;text-align:center;margin-top:3px}
.contact-direct-section .quote-send-row .btn{min-width:min(100%,300px)}
@media(max-width:980px){.contact-direct-section .contact-card:first-child{align-items:stretch;text-align:center}.contact-direct-section .contact-card:first-child .contact-list{margin-inline:auto}}

/* v31 – center the reference number and translated painting title as one visual heading. */
.painting-category-page .artwork-card .artwork-heading{
 display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:baseline!important;
 text-align:center!important;column-gap:.35em!important;width:100%!important;min-width:0!important;
}
.painting-category-page .artwork-card .artwork-heading .artwork-index{flex:0 0 auto!important;white-space:nowrap!important;text-align:center!important}
.painting-category-page .artwork-card .artwork-heading h3.artwork-title{
 flex:0 1 auto!important;min-width:0!important;text-align:center!important;text-wrap:balance;
 overflow-wrap:break-word!important;hyphens:auto;
}


/* v36 – keep artwork number and title as one centered inline heading line. */
.painting-category-page .artwork-card .artwork-heading{
  display:block!important;
  width:fit-content!important;
  max-width:100%!important;
  margin:0 auto 13px!important;
  text-align:center!important;
  min-width:0!important;
}
.painting-category-page .artwork-card .artwork-heading .artwork-index,
.painting-category-page .artwork-card .artwork-heading h3.artwork-title{
  display:inline!important;
  vertical-align:baseline!important;
  margin:0!important;
  padding:0!important;
}
.painting-category-page .artwork-card .artwork-heading .artwork-index{
  white-space:nowrap!important;
  text-align:center!important;
}
.painting-category-page .artwork-card .artwork-heading h3.artwork-title{
  text-align:center!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

/* v39: three compact, visually independent quote sections. */
.contact-direct-section #quote-form{display:grid;gap:12px}
.contact-direct-section #quote-form .quote-group{padding:13px 14px 14px;border:1px solid rgba(134,96,56,.26);border-radius:13px;background:rgba(252,248,241,.55);min-width:0}
.contact-direct-section #quote-form .quote-group-heading{font:700 13px/1.4 Georgia,serif;color:var(--gold-deep,#8b6132);margin:0 0 11px;letter-spacing:.02em}
.contact-direct-section #quote-form .quote-group--works .quote-add-bar{margin-top:9px}
.contact-direct-section #quote-form .quote-group--message textarea{width:100%;box-sizing:border-box;min-height:90px}
.contact-direct-section #quote-form .quote-send-row{margin-top:4px!important}
.quote-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.contact-direct-section .quote-feedback{width:100%;text-align:center}

.quote-feedback[data-state="success"]{color:#34694a}.quote-feedback[data-state="error"]{color:#9b3b2d}

/* The message box heading already labels the section; keep its native field label for assistive technology without visually repeating it. */
.quote-group--message label[for="quote-message"]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v41: painting-side header structure and colors stay consistent across categories/contact. */
.site-header .nav{gap:clamp(9px,1.2vw,18px)!important}
.site-header .navlinks{gap:clamp(10px,1.25vw,20px)!important}
.site-header .navlinks > a,.site-header .navlinks .dropdown-toggle{white-space:nowrap!important}
.site-header .nav-cta{gap:9px!important}
@media(min-width:981px) and (max-width:1220px){
 .site-header .brand small{font-size:11px!important}
 .site-header .navlinks > a,.site-header .navlinks .dropdown-toggle{font-size:14px!important}
 .site-header .nav-cta .cross-site-btn{font-size:12px!important;padding:9px 10px!important}
}
/* The contact details card keeps its natural height while an arbitrarily long artwork selection grows. */
.contact-direct-section .contact-layout{align-items:start!important}
.contact-direct-section .contact-layout > .contact-card:first-child{
 align-self:start!important;position:sticky!important;top:clamp(104px,calc(50dvh - 145px),310px)!important;
 min-height:270px!important;height:auto!important;max-height:none!important;
 border:2px solid rgba(139,99,53,.69)!important;box-sizing:border-box!important;
}
.contact-direct-section .contact-layout > .contact-card:nth-child(2){border:2px solid rgba(139,99,53,.69)!important}
.contact-direct-section #quote-form .quote-group{border:2px solid rgba(139,99,53,.76)!important;background:rgba(252,248,241,.73)!important}
.contact-direct-section .contact-card:first-child .contact-item{border:2px solid rgba(139,99,53,.65)!important}
@media(max-width:980px){.contact-direct-section .contact-layout > .contact-card:first-child{position:static!important;top:auto!important;min-height:0!important}}
/* Permit the contact details to remain sticky while the enquiry form grows. */
body.theme-gateway:has(.contact-direct-section) main{overflow:visible!important}
/* Keep the entire painting navigation discoverable on narrow screens, rather than dropping it. */
@media(max-width:980px){
 .site-header{position:sticky!important;top:0!important}
 .site-header .nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:6px 12px!important;padding:8px 0!important}
 .site-header .brand{grid-column:1!important;grid-row:1!important;min-width:0!important}
 .site-header .nav-cta{grid-column:2!important;grid-row:1!important;justify-self:end!important;width:auto!important;min-width:0!important;flex-wrap:nowrap!important}
 .site-header .navlinks{display:flex!important;grid-column:1/-1!important;grid-row:2!important;justify-content:center!important;gap:clamp(10px,2vw,18px)!important;flex-wrap:wrap!important;margin:0!important;overflow:visible!important;width:100%!important}
 .site-header .navlinks > a,.site-header .navlinks .dropdown-toggle{font-size:14px!important}
 .site-header .nav-cta .cross-site-btn{font-size:11px!important;padding:8px!important}
}
@media(max-width:620px){
 .site-header .nav{grid-template-columns:1fr!important}
 .site-header .brand{grid-column:1!important;grid-row:1!important}
 .site-header .nav-cta{grid-column:1!important;grid-row:2!important;width:100%!important;justify-content:space-between!important}
 .site-header .navlinks{grid-column:1!important;grid-row:3!important}
 .site-header .nav-cta .cross-site-btn{display:inline-flex!important;flex:0 1 auto!important}
}

/* v42 – a three-part quote form with understated gallery-inspired sans-serif typography. */
.contact-direct-section #quote-form .quote-group{
 border-color:rgba(139,99,53,.77)!important;
 background:linear-gradient(165deg,rgba(255,252,247,.94),rgba(247,237,222,.80))!important;
 box-shadow:0 3px 11px rgba(71,48,27,.06)!important;
}
.contact-direct-section #quote-form .quote-group-heading{
 display:flex;align-items:center;gap:11px;
 margin:0 0 14px!important;padding:0 0 9px!important;
 border-bottom:1px solid rgba(150,106,51,.32)!important;
 font-family:'Segoe UI','Trebuchet MS',Arial,sans-serif!important;
 font-size:15px!important;font-weight:750!important;line-height:1.35!important;
 letter-spacing:.055em!important;color:#78512b!important;
 text-transform:uppercase!important;
}
.contact-direct-section #quote-form .quote-group-heading::before{
 content:'✦';display:inline-flex;justify-content:center;align-items:center;flex:none;box-sizing:border-box;width:25px;height:25px;border-radius:50%;border:1px solid rgba(139,96,46,.68);background:radial-gradient(circle at 35% 28%,#f9e9cf,#e4c59c);box-shadow:0 1px 3px rgba(70,45,22,.14);color:#8b602e;font:700 15px/1 Georgia,serif;
}
.contact-direct-section #quote-form label,
.contact-direct-section .contact-item strong{
 font-family:'Segoe UI','Trebuchet MS',Arial,sans-serif!important;
 font-size:12px!important;font-weight:750!important;letter-spacing:.055em!important;
 line-height:1.45!important;color:#78512b!important;
}
.contact-direct-section #quote-form input,
.contact-direct-section #quote-form select,
.contact-direct-section #quote-form textarea{
 font-family:'Segoe UI','Trebuchet MS',Arial,sans-serif!important;
 font-size:14px!important;line-height:1.5!important;
 border:1px solid rgba(135,103,66,.37)!important;
}
.contact-direct-section .quote-add{
 font-family:'Segoe UI',Arial,sans-serif!important;font-size:12px!important;
 font-weight:750!important;
}
.contact-direct-section .contact-card > h2{
 font-family:'Segoe UI','Trebuchet MS',Arial,sans-serif!important;
 font-weight:750!important;letter-spacing:.01em!important;color:#654526!important;
}
.contact-direct-section .contact-card > .kicker{
 font-family:'Segoe UI',Arial,sans-serif!important;
 letter-spacing:.11em!important;font-weight:750!important;color:#936736!important;
}

/* v50 – contact information links retain the site's bronze palette. */
.contact-direct-section .contact-item a{color:inherit;text-decoration:none;border-bottom:1px dotted rgba(139,96,46,.6)}
.contact-direct-section .contact-item a:hover,.contact-direct-section .contact-item a:focus-visible{color:#8b602e;border-bottom-style:solid}
