.rh-gallery { --gallery-accent: #f26937; background: #f2f2f0; color: #242424; padding-top: 108px; }
.rh-gallery a { text-decoration: none; }
.rh-gallery a:focus-visible { outline: 3px solid var(--gallery-accent); outline-offset: 5px; }
.rh-gallery-eyebrow { display: block; color: #b6441c; font: 12px/1.7 Consolas, monospace; letter-spacing: 2px; margin-bottom: 20px; }
.rh-gallery-cta .rh-gallery-eyebrow { color: var(--gallery-accent); }
.rh-gallery-cta h2 span { color: var(--gallery-accent); }
.rh-gallery .rh-gallery-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; padding: 15px 24px; background: var(--gallery-accent); color: #020202; font-size: 20px; font-weight: 600; border: 1px solid var(--gallery-accent); transition: background .2s, color .2s; }
.rh-gallery .rh-gallery-button:hover { background: #fff; color: #020202; }
.rh-gallery-button i { font-size: 15px; }
.rh-gallery-collections { padding: 80px 0 90px; scroll-margin-top: 125px; }
.rh-gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding-bottom: 28px; border-bottom: 1px solid #bfbfb8; margin-bottom: 36px; }
.rh-gallery h1, .rh-gallery h2 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 500; line-height: 1.1; margin: 0; color: #242424; }
.rh-gallery-heading h1 span { color: #b6441c; }
.rh-gallery-heading p { color: #666; font-size: 15px; line-height: 1.9; max-width: 290px; margin: 0; }
.rh-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
.rh-gallery-card { min-width: 0; display: block; color: #242424; }
.rh-gallery-card:hover h3, .rh-gallery-card:focus-visible h3 { color: #b6441c; }
.rh-gallery-card:hover img, .rh-gallery-card:focus-visible img { transform: scale(1.035); filter: saturate(1); }
.rh-gallery-back { display: inline-flex; align-items: center; gap: 12px; color: #a73e18; font-size: 20px; margin-bottom: 32px; padding: 8px 0; }
.rh-gallery-back:hover { color: #242424; }
.rh-gallery-back i { font-size: 14px; }
.rh-gallery-detail .rh-gallery-collections { padding-top: 40px; }
.rh-gallery-detail .rh-gallery-heading > div:first-child { min-width: 0; }
.rh-gallery-detail h1 { overflow-wrap: anywhere; }
.rh-gallery-detail-summary { flex-shrink: 0; }
.rh-gallery-count { display: block; font: 12px/1.7 Consolas, monospace; letter-spacing: 2px; color: #a73e18; margin-bottom: 12px; }
.rh-gallery-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-gallery-image-grid .rh-gallery-card h3 { font-size: 25px; }
.rh-gallery-expand { position: absolute; z-index: 3; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; background: var(--gallery-accent); color: #020202; }
.rh-gallery-photo { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 3; background: #242424; border-bottom: 3px solid var(--gallery-accent); }
.rh-gallery-photo img { position: relative; z-index: 1; display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .45s, filter .45s; filter: saturate(.8); }
.rh-gallery-photo img[hidden] { display: none; }
.rh-gallery-photo::after { content: ''; position: absolute; z-index: 2; inset: 0; background: linear-gradient(transparent 55%, #02020266); pointer-events: none; }
.rh-gallery-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #a6a6a6; font: 12px Consolas, monospace; letter-spacing: 2px; }
.rh-gallery-number { position: absolute; z-index: 3; top: 20px; left: 20px; background: #020202; color: var(--gallery-accent); border: 1px solid var(--gallery-accent); padding: 7px 12px; font: 13px Consolas, monospace; }
.rh-gallery-card-body { padding: 22px 0 18px; border-bottom: 1px solid #bfbfb8; }
.rh-gallery-card h3 { font-size: clamp(25px, 2.5vw, 34px); font-weight: 500; line-height: 1.4; color: #242424; margin: 0; overflow-wrap: anywhere; }
.rh-gallery-empty { grid-column: 1 / -1; text-align: center; padding: 65px 20px; border: 1px solid #d6d6d2; }
.rh-gallery-empty > i { font-size: 40px; color: #b6441c; margin-bottom: 24px; }
.rh-gallery-empty h3 { font-size: 34px; }
.rh-gallery-empty p { line-height: 1.9; color: #666; margin-bottom: 25px; }
.rh-gallery-cta { background: #020202; padding: 60px 0; border-top: 3px solid var(--gallery-accent); }
.rh-gallery-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.rh-gallery-cta h2 { color: #fff; font-size: clamp(36px, 4vw, 54px); }
.rh-gallery-cta .rh-gallery-button { flex-shrink: 0; }
@media (max-width: 991.98px) {
    .rh-gallery-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-gallery-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 767.98px) {
    .rh-gallery-collections { padding: 50px 0; }
    .rh-gallery-grid { grid-template-columns: 1fr; gap: 30px; }
    .rh-gallery-cta-inner { align-items: start; flex-direction: column; }
    .rh-gallery-cta { padding: 45px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .rh-gallery *, .rh-gallery *::after { transition: none; }
    .rh-gallery-card:hover img, .rh-gallery-card:focus-visible img { transform: none; }
}
