
/* Static gallery for volvo.com.ua — designed to sit under the existing 2026 header. */
.gallery-main{position:relative;overflow:hidden;background:linear-gradient(180deg,#f7fbfd 0,#fff 220px,#fff 100%);padding:34px 0 70px;color:#153d59}
.gallery-main .wrap{width:min(1120px,calc(100% - 36px))}
.gallery-intro{text-align:center;position:relative;padding:22px 44px 30px}
.gallery-intro:before{content:"";position:absolute;left:9%;right:9%;bottom:8px;height:5px;background:linear-gradient(90deg,transparent,#1b73b7 18%,#f0c12e 50%,#1b73b7 82%,transparent);opacity:.45;filter:blur(.2px)}
.gallery-kicker,.gallery-section-head span,.album-heading-row span{font-size:13px;font-weight:900;letter-spacing:.18em;color:#2a6d99}
.gallery-intro h1,.album-heading h1{margin:3px 0 10px;color:#0c3657;font:900 42px/1.04 "Segoe UI",Arial,sans-serif;letter-spacing:-.025em}
.gallery-intro p{max-width:850px;margin:0 auto;color:#41657d;font:600 17px/1.6 "Segoe UI",Arial,sans-serif}
.gallery-summary{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:20px;font-size:14px;color:#54758b}.gallery-summary b{font-size:20px;color:#0e4b73}.gallery-summary i{width:4px;height:4px;border-radius:50%;background:#e0b225}
.gallery-section{padding-top:38px}.gallery-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:18px;padding:0 5px 12px;border-bottom:1px solid #d8e7ef;position:relative}.gallery-section-head:after{content:"";position:absolute;left:0;bottom:-2px;width:170px;height:3px;background:linear-gradient(90deg,#176cac,#efbf2c,transparent)}.gallery-section-head h2{margin:2px 0 0;font:900 29px/1.05 "Segoe UI",Arial,sans-serif;color:#103e5e}.gallery-section-head p{max-width:560px;margin:0;text-align:right;color:#607d8f;font-size:14px;line-height:1.5}
.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.album-card{display:block;text-decoration:none;color:inherit;position:relative;background:#fff;border:1px solid #d9e8f0;box-shadow:0 8px 24px rgba(25,67,93,.06);transition:transform .2s ease,box-shadow .2s ease;border-radius:0;overflow:hidden}.album-card:before,.album-card:after{content:"";position:absolute;z-index:2;pointer-events:none}.album-card:before{top:0;left:0;width:70px;height:5px;background:#176ead}.album-card:after{top:0;left:70px;width:28px;height:5px;background:#efc12d}.album-card:hover{transform:translateY(-4px);box-shadow:0 13px 30px rgba(25,67,93,.12)}.album-cover{display:block;height:205px;overflow:hidden;background:#eef5f8}.album-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.album-card:hover .album-cover img{transform:scale(1.035)}.album-meta{display:block;padding:14px 16px 16px;min-height:86px}.album-meta small{display:block;color:#d29d16;font-size:11px;font-weight:900;letter-spacing:.12em}.album-meta strong{display:block;margin-top:3px;color:#123f5f;font:800 17px/1.25 "Segoe UI",Arial,sans-serif}.album-meta em{display:block;margin-top:7px;color:#748d9c;font-size:12px;font-style:normal}.gallery-vrq{margin-top:10px}
.album-page{padding-top:24px}.album-heading{padding:10px 4px 24px;border-bottom:1px solid #dbe9f0}.gallery-back{display:inline-block;margin-bottom:16px;color:#39718f;font-size:13px;font-weight:700;text-decoration:none}.gallery-back:hover{text-decoration:underline}.album-heading-row{display:flex;justify-content:space-between;gap:30px;align-items:end}.album-heading h1{font-size:37px;margin-bottom:6px}.album-heading p{margin:0;color:#6a8393;font-size:14px}.album-jump a,.pager-home{display:inline-block;padding:9px 14px;border:1px solid #b8d1df;background:rgba(255,255,255,.8);text-decoration:none;color:#174e70;font-size:12px;font-weight:800;box-shadow:0 4px 14px rgba(22,66,92,.05)}
.photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding-top:24px}.gallery-photo{position:relative;display:block;aspect-ratio:4/3;background:#edf3f6;overflow:hidden;border:1px solid #e1ebf0}.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease,filter .18s ease}.gallery-photo span{position:absolute;right:5px;bottom:5px;padding:2px 5px;background:rgba(8,48,74,.66);color:#fff;font:700 10px/1.2 Arial,sans-serif;opacity:.7}.gallery-photo:hover img{transform:scale(1.045);filter:saturate(1.06)}
.album-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px;margin-top:30px;padding-top:18px;border-top:1px solid #dce9ef}.album-pager>span:last-child{text-align:right}.album-pager a{color:#235d7d;text-decoration:none;font-size:12px;font-weight:700}.album-pager a:hover{text-decoration:underline}.pager-home:hover{text-decoration:none!important}
.static-viewer{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;background:rgba(4,17,28,.93);padding:30px}.static-viewer.is-open{display:flex}.static-viewer figure{margin:0;display:flex;flex-direction:column;align-items:center;max-width:calc(100vw - 150px);max-height:calc(100vh - 50px)}.static-viewer figure img{display:block;max-width:100%;max-height:calc(100vh - 90px);width:auto;height:auto;object-fit:contain;box-shadow:0 18px 60px rgba(0,0,0,.4)}.static-viewer figcaption{width:100%;display:flex;justify-content:space-between;gap:20px;margin-top:9px;color:#d8e5ec;font:600 12px/1.4 Arial,sans-serif}.sv-original{color:#fff;text-decoration:none}.sv-close,.sv-prev,.sv-next{position:absolute;border:0;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.sv-close{top:14px;right:18px;width:42px;height:42px;font-size:30px}.sv-prev,.sv-next{top:50%;transform:translateY(-50%);width:48px;height:76px;font-size:50px;line-height:1}.sv-prev{left:14px}.sv-next{right:14px}.sv-close:hover,.sv-prev:hover,.sv-next:hover{background:rgba(255,255,255,.16)}
@media(max-width:980px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.gallery-section-head{align-items:start;flex-direction:column;gap:8px}.gallery-section-head p{text-align:left}.gallery-intro h1{font-size:36px}}
@media(max-width:720px){.gallery-main{padding-top:20px}.gallery-main .wrap{width:calc(100% - 20px)}.gallery-intro{padding:15px 5px 25px}.gallery-intro h1,.album-heading h1{font-size:29px}.gallery-intro p{font-size:15px}.gallery-summary{gap:9px;flex-wrap:wrap}.album-grid{grid-template-columns:1fr;gap:14px}.album-cover{height:220px}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.album-heading-row{align-items:start;flex-direction:column}.album-jump{display:none}.static-viewer{padding:12px}.static-viewer figure{max-width:calc(100vw - 24px)}.sv-prev,.sv-next{width:38px;height:58px;font-size:40px;background:rgba(0,0,0,.28)}.sv-prev{left:3px}.sv-next{right:3px}.sv-close{right:6px;top:6px}}
@media(max-width:480px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.album-cover{height:190px}.gallery-section{padding-top:27px}.gallery-section-head h2{font-size:25px}.album-pager{grid-template-columns:1fr;}.album-pager>span:last-child{text-align:left}.pager-home{justify-self:start}}

/* v2 — graphic headings matching the painted visual language of the main site. */
.gallery-visually-hidden{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}
.gallery-title-art{display:block;height:auto;object-fit:contain;filter:drop-shadow(0 5px 12px rgba(16,58,86,.08))}
.gallery-title-art-main{width:min(100%,1040px);margin:0 auto 4px}
.gallery-intro{padding-top:4px}
.gallery-intro p{margin-top:-3px}
.gallery-section-head-art{align-items:center;padding-bottom:8px}
.gallery-section-head-art:after{display:none}
.gallery-section-art-wrap{flex:0 1 690px;min-width:0}
.gallery-title-art-section{width:min(100%,650px);max-height:185px;margin:0;object-position:left center}
.gallery-section-head-art p{flex:0 1 390px;padding-right:4px}
.album-category-art-wrap{margin:-4px 0 2px;max-width:560px}
.album-category-art{display:block;width:100%;height:auto;max-height:145px;object-fit:contain;object-position:left center;filter:drop-shadow(0 4px 10px rgba(17,59,88,.08))}
.album-heading-row{margin-top:-2px}
.album-heading-row h1{margin-top:0}
@media(max-width:900px){
  .gallery-title-art-main{width:min(100%,900px)}
  .gallery-section-head-art{display:block}
  .gallery-section-art-wrap{max-width:680px;margin:0 auto}
  .gallery-title-art-section{margin:0 auto;object-position:center}
  .gallery-section-head-art p{max-width:760px;margin:4px auto 0;text-align:center}
  .album-category-art-wrap{max-width:500px}
}
@media(max-width:620px){
  .gallery-intro{padding-left:0;padding-right:0}
  .gallery-title-art-main{width:100%;margin-bottom:2px}
  .gallery-title-art-section{width:100%;max-height:none}
  .album-category-art-wrap{max-width:100%}
  .album-category-art{max-height:none}
}


/* v3 — compact vertical rhythm for graphic headings. */
.gallery-main{
  padding-top:8px;
}
.gallery-intro{
  padding-top:0;
  padding-bottom:10px;
}
.gallery-intro:before{
  bottom:0;
}
.gallery-title-art-main{
  margin-bottom:-6px;
}
.gallery-summary{
  margin-top:0;
  margin-bottom:0;
}
.gallery-section{
  padding-top:12px;
}
.gallery-section-head{
  margin-bottom:10px;
}
.gallery-section-head-art{
  padding-top:0;
  padding-bottom:3px;
}
.gallery-title-art-section{
  max-height:150px;
}
.gallery-vrq{
  margin-top:2px;
}
@media(max-width:720px){
  .gallery-main{padding-top:4px}
  .gallery-intro{padding-top:0;padding-bottom:8px}
  .gallery-section{padding-top:10px}
  .gallery-title-art-section{max-height:none}
}


/* v4 — gallery shell synchronized with the finished main page header/footer. */
body{background:#f7fbfd}
.gallery-main{
  padding-bottom:34px;
  background:linear-gradient(180deg,#f7fbfd 0,#fff 220px,#fff calc(100% - 180px),#f7fbfd 100%);
}
.gallery-final-footer{
  margin-top:-1px;
  padding-top:20px;
}
/* Let the gallery fade into the painted footer instead of ending as a hard white block. */
.gallery-final-footer::before{height:120px}
.album-page{padding-bottom:38px}
@media(max-width:720px){
  .gallery-main{padding-bottom:22px}
  .album-page{padding-bottom:24px}
  .gallery-final-footer{padding-top:14px}
}
