#gallery-leadin { max-width: 1000px; width: 90%; margin: 0 auto; text-align: left; }
#gallery-leadin h1 { font-size: 1.6em; letter-spacing: 0.5px; color: #333; margin: 0 0 10px 0; line-height: 1.3; }
#gallery-leadin p { color: #666; line-height: 1.6em; margin: 0; max-width: 800px; }
#gallery-leadin p.set-meta { font-style: italic; font-size: 0.8em; color: #999; margin-top: 4px; }
#gallery-columns { margin: 20px auto 40px auto; width: 90%; max-width: 1000px; display: flex; gap: 30px; align-items: flex-start; }
#gallery-scroll { flex: 0 1 600px; min-width: 0; }
#gallery-scroll img { width: 100%; max-width: 600px; display: block; margin: 0 auto 30px auto; cursor: pointer; }
#gallery-scroll .caption { background: #eee; color: #666; padding: 10px; margin: -22px 0 30px 0; }
#gallery-submenu { flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 130px; }
#gallery-submenu ul { list-style: none; padding: 0; margin: 0; }
#gallery-submenu ul li { padding: 6px 0; color: #666; }
#gallery-submenu ul li.subhead { margin: 22px 0 6px 0; font-size: 0.72em; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; color: #999; }
#gallery-submenu ul:first-of-type li.subhead { margin-top: 0; }
#gallery-submenu a { color: #666; text-decoration: none; font-size: 0.9em; }
#gallery-submenu a:hover { color: #222; }
#gallery-submenu .share-buttons { display: flex; flex-direction: column; gap: 8px; }
#gallery-submenu .share-btn { display: flex; align-items: center; gap: 10px; border: 1px solid #ddd; border-radius: 6px; padding: 7px 12px; color: #444; background: #fafafa; }
#gallery-submenu .share-btn:hover { background: #f0f0f0; }
#gallery-submenu .share-badge { display: inline-block; min-width: 22px; text-align: center; font-weight: bold; font-size: 0.8em; color: #fff; background: #555; border-radius: 4px; padding: 2px 4px; }
#gallery-submenu .share-fb .share-badge { background: #1877F2; }
#gallery-submenu .share-x .share-badge { background: #000; }
#gallery-submenu .share-li .share-badge { background: #0A66C2; }
@media screen and (max-width: 700px) {
	#gallery-columns { flex-direction: column; }
	#gallery-submenu { position: static; width: 100%; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 14px 16px 18px 16px; }
.chip { font: 13px system-ui, Arial, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; border: 2px solid #333; background: #fff; color: #333; padding: 5px 14px; cursor: pointer; }
.chip.on { background: #333; color: #fff; }
.wall { columns: 3 260px; column-gap: 22px; max-width: 1100px; margin: 0 auto; padding: 10px 16px 50px 16px; }
.wall a.pic { display: block; break-inside: avoid; margin: 0 0 22px 0; background: #fff; padding: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.wall a.pic img { width: 100%; display: block; }
.wall a.pic.hide { display: none; }
@media (prefers-reduced-motion: no-preference) { .wall a.pic { transition: transform 0.15s ease; } .wall a.pic:hover { transform: translateY(-3px); } }
.hero-kb.photos { height: 60vh; min-height: 420px; }
.hero-kb.photos .kb-slide { background-position: center 30%; }
.hero-kb.photos .hero-overlay { background: none; }
.hero-kb.photos .hero-content { background: rgba(0,0,0,0.45); border-radius: 8px; padding: 28px 24px; max-width: 640px; margin: 0 16px; }
.hero-kb.photos .hero-content h1 { color: #fff; font-size: 2.4rem; margin: 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); }
.hero-kb.photos .hero-content p { color: #fff; font-size: 1.1rem; margin: 10px auto 0; text-shadow: 1px 1px 3px rgba(0,0,0,0.6); }
@media (max-width: 700px) { .hero-kb.photos { min-height: 300px; } .hero-kb.photos .hero-content h1 { color: #fff; font-size: 1.7rem; } .hero-kb.photos .hero-content p { color: #fff; font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .hero-kb.photos .kb-slide { animation: none; } .hero-kb.photos .kb-slide:first-child { opacity: 1; } }
.models-head { text-align: center; padding: 10px 16px 10px; }
.models-head h1 { color: #222; font-size: 1.6rem; font-weight: 600; margin: 10px 0 6px; }
.models-head p { color: #555; text-align: center; padding-bottom: 14px; }
.wall a.pic .name { display: block; text-align: center; color: #222; font-size: 1rem; padding: 10px 0 4px; }
.desc-box.collapsed p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
#desc-toggle { display: inline-block; margin: 6px 0 4px; color: #222; font: 13px system-ui, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; }
.models-head h1 img { height: 130px; width: auto; max-width: 70%; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
