.hgrt-gallery-page {
--hgrt-gallery-primary: #1b5e20;
--hgrt-gallery-primary-dark: #124516;
--hgrt-gallery-accent: #f5a123;
--hgrt-gallery-bg: #fafaf8;
--hgrt-gallery-bg-soft: #f2ede4;
--hgrt-gallery-surface: #ffffff;
--hgrt-gallery-text: #1a1a14;
--hgrt-gallery-text-soft: #5f6257;
--hgrt-gallery-border: #ddd5c0;
--hgrt-gallery-shadow-small:
0 8px 24px rgba(27, 46, 29, 0.08);
--hgrt-gallery-shadow-large:
0 24px 60px rgba(16, 31, 18, 0.18);
--hgrt-gallery-radius-small: 10px;
--hgrt-gallery-radius-medium: 16px;
--hgrt-gallery-radius-large: 24px;
--hgrt-gallery-transition:
220ms cubic-bezier(0.2, 0.65, 0.3, 1);
position: relative;
min-height: 100vh;
overflow: clip;
background:
radial-gradient(
circle at 12% 8%,
rgba(245, 161, 35, 0.08),
transparent 28%
),
var(--hgrt-gallery-bg);
color: var(--hgrt-gallery-text);
} .hgrt-gallery-page,
.hgrt-gallery-page *,
.hgrt-gallery-page *::before,
.hgrt-gallery-page *::after {
box-sizing: border-box;
}
.hgrt-gallery-page button,
.hgrt-gallery-page a {
-webkit-tap-highlight-color: transparent;
}
.hgrt-gallery-page img {
max-width: 100%;
height: auto;
}
.hgrt-gallery-page button {
font: inherit;
}
.hgrt-gallery-page [hidden] {
display: none !important;
} .hgrt-gallery-shell {
width: min(100% - 40px, 1440px);
margin-inline: auto;
} .hgrt-gallery-hero {
position: relative;
padding: clamp(72px, 9vw, 138px) 0 clamp(52px, 6vw, 92px);
overflow: hidden;
}
.hgrt-gallery-hero::before {
content: "";
position: absolute;
z-index: 0;
top: -160px;
right: -120px;
width: 420px;
height: 420px;
border-radius: 50%;
background:
radial-gradient(
circle,
rgba(27, 94, 32, 0.12) 0%,
rgba(27, 94, 32, 0.03) 48%,
transparent 72%
);
pointer-events: none;
}
.hgrt-gallery-hero::after {
content: "";
position: absolute;
z-index: 0;
bottom: 0;
left: 50%;
width: min(92%, 1340px);
height: 1px;
transform: translateX(-50%);
background:
linear-gradient(
90deg,
transparent,
var(--hgrt-gallery-border) 15%,
var(--hgrt-gallery-border) 85%,
transparent
);
}
.hgrt-gallery-hero .hgrt-gallery-shell {
position: relative;
z-index: 1;
max-width: 980px;
text-align: center;
}
.hgrt-gallery-eyebrow {
display: inline-flex;
align-items: center;
gap: 9px;
margin: 0 0 18px;
color: var(--hgrt-gallery-primary);
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.16em;
line-height: 1.2;
text-transform: uppercase;
}
.hgrt-gallery-eyebrow::before,
.hgrt-gallery-eyebrow::after {
content: "";
width: 28px;
height: 1px;
background: currentColor;
opacity: 0.55;
}
.hgrt-gallery-title {
margin: 0;
color: var(--hgrt-gallery-text);
font-size: clamp(2.6rem, 7vw, 6.25rem);
font-weight: 800;
letter-spacing: -0.055em;
line-height: 0.96;
text-wrap: balance;
}
.hgrt-gallery-intro {
max-width: 720px;
margin: 26px auto 0;
color: var(--hgrt-gallery-text-soft);
font-size: clamp(1rem, 1.6vw, 1.25rem);
line-height: 1.75;
text-wrap: balance;
}
.hgrt-gallery-intro p {
margin: 0;
}
.hgrt-gallery-intro p + p {
margin-top: 14px;
} .hgrt-gallery-content {
position: relative;
padding: clamp(44px, 6vw, 82px) 0 clamp(80px, 9vw, 140px);
} .hgrt-gallery-filters {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
margin: 0 auto 18px;
}
.hgrt-gallery-filter {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 10px 19px;
border: 1px solid var(--hgrt-gallery-border);
border-radius: 999px;
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 2px 10px rgba(26, 26, 20, 0.025);
color: var(--hgrt-gallery-text);
cursor: pointer;
font-size: 0.9rem;
font-weight: 700;
line-height: 1;
transition:
background-color var(--hgrt-gallery-transition),
border-color var(--hgrt-gallery-transition),
color var(--hgrt-gallery-transition),
box-shadow var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
backdrop-filter: blur(8px);
}
.hgrt-gallery-filter:hover {
border-color: rgba(27, 94, 32, 0.44);
background: #fff;
color: var(--hgrt-gallery-primary);
box-shadow: var(--hgrt-gallery-shadow-small);
transform: translateY(-2px);
}
.hgrt-gallery-filter:focus-visible {
outline: 3px solid rgba(245, 161, 35, 0.35);
outline-offset: 3px;
}
.hgrt-gallery-filter.is-active {
border-color: var(--hgrt-gallery-primary);
background: var(--hgrt-gallery-primary);
box-shadow:
0 9px 24px rgba(27, 94, 32, 0.22);
color: #fff;
}
.hgrt-gallery-filter.is-active:hover {
background: var(--hgrt-gallery-primary-dark);
color: #fff;
transform: translateY(-2px);
} .hgrt-gallery-results {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
margin: 0 0 36px;
color: var(--hgrt-gallery-text-soft);
font-size: 0.84rem;
font-weight: 600;
letter-spacing: 0.02em;
}
.hgrt-gallery-results [data-gallery-visible-count] {
color: var(--hgrt-gallery-primary);
font-weight: 800;
} .hgrt-gallery-grid {
columns: 4;
column-gap: 18px;
width: 100%;
}
.hgrt-gallery-card {
display: inline-block;
width: 100%;
margin: 0 0 18px;
break-inside: avoid;
vertical-align: top;
opacity: 1;
transform:
translateY(0)
scale(1);
transition:
opacity 260ms ease,
transform 320ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.hgrt-gallery-card.is-hiding {
opacity: 0;
transform:
translateY(16px)
scale(0.975);
pointer-events: none;
}
.hgrt-gallery-card.is-hidden {
display: none;
}
.hgrt-gallery-card-button {
display: block;
width: 100%;
margin: 0;
padding: 0;
border: 0;
border-radius: var(--hgrt-gallery-radius-medium);
background: transparent;
color: inherit;
cursor: zoom-in;
text-align: left;
}
.hgrt-gallery-card-button:focus {
outline: none;
}
.hgrt-gallery-card-button:focus-visible {
border-radius: var(--hgrt-gallery-radius-medium);
outline: 3px solid rgba(245, 161, 35, 0.5);
outline-offset: 4px;
} .hgrt-gallery-card-media {
position: relative;
display: block;
overflow: hidden;
border-radius: var(--hgrt-gallery-radius-medium);
background: var(--hgrt-gallery-bg-soft);
box-shadow:
0 2px 0 rgba(255, 255, 255, 0.8) inset,
var(--hgrt-gallery-shadow-small);
isolation: isolate;
transform: translateZ(0);
transition:
box-shadow var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
}
.hgrt-gallery-card-image {
display: block;
width: 100%;
height: auto;
min-height: 220px;
object-fit: cover;
transform: scale(1.001);
transition:
transform 700ms cubic-bezier(0.18, 0.7, 0.25, 1),
filter 500ms ease;
}
.hgrt-gallery-card-overlay {
position: absolute;
z-index: 1;
inset: 0;
background:
linear-gradient(
180deg,
rgba(10, 19, 11, 0.03) 22%,
rgba(10, 19, 11, 0.2) 58%,
rgba(10, 19, 11, 0.78) 100%
);
opacity: 0.28;
transition:
opacity var(--hgrt-gallery-transition);
pointer-events: none;
}
.hgrt-gallery-card-copy {
position: absolute;
z-index: 2;
right: 22px;
bottom: 20px;
left: 22px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
color: #fff;
opacity: 0;
transform: translateY(12px);
transition:
opacity var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
pointer-events: none;
}
.hgrt-gallery-card-category {
display: block;
color: rgba(255, 255, 255, 0.8);
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.11em;
line-height: 1.3;
text-transform: uppercase;
}
.hgrt-gallery-card-title {
display: block;
max-width: 92%;
color: #fff;
font-size: clamp(1rem, 1.2vw, 1.22rem);
font-weight: 750;
letter-spacing: -0.02em;
line-height: 1.25;
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
text-wrap: balance;
}
.hgrt-gallery-card-icon {
position: absolute;
z-index: 3;
top: 15px;
right: 15px;
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border: 1px solid rgba(255, 255, 255, 0.42);
border-radius: 50%;
background: rgba(255, 255, 255, 0.18);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
color: #fff;
font-size: 1.4rem;
font-weight: 300;
line-height: 1;
opacity: 0;
transform:
translateY(-8px)
rotate(-10deg);
transition:
background-color var(--hgrt-gallery-transition),
opacity var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
backdrop-filter: blur(10px);
pointer-events: none;
} .hgrt-gallery-card-button:hover .hgrt-gallery-card-media,
.hgrt-gallery-card-button:focus-visible .hgrt-gallery-card-media {
box-shadow: var(--hgrt-gallery-shadow-large);
transform: translateY(-5px);
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-image,
.hgrt-gallery-card-button:focus-visible .hgrt-gallery-card-image {
transform: scale(1.045);
filter: saturate(1.05) contrast(1.02);
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-overlay,
.hgrt-gallery-card-button:focus-visible .hgrt-gallery-card-overlay {
opacity: 1;
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-copy,
.hgrt-gallery-card-button:focus-visible .hgrt-gallery-card-copy {
opacity: 1;
transform: translateY(0);
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-icon,
.hgrt-gallery-card-button:focus-visible .hgrt-gallery-card-icon {
opacity: 1;
transform:
translateY(0)
rotate(0);
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-icon {
background: rgba(255, 255, 255, 0.27);
} .hgrt-gallery-empty {
max-width: 720px;
margin: 30px auto 0;
padding: clamp(42px, 7vw, 82px) 30px;
border: 1px solid var(--hgrt-gallery-border);
border-radius: var(--hgrt-gallery-radius-large);
background:
linear-gradient(
145deg,
rgba(255, 255, 255, 0.96),
rgba(242, 237, 228, 0.7)
);
box-shadow: var(--hgrt-gallery-shadow-small);
text-align: center;
}
.hgrt-gallery-empty h2 {
margin: 0 0 12px;
color: var(--hgrt-gallery-text);
font-size: clamp(1.6rem, 3vw, 2.35rem);
letter-spacing: -0.035em;
line-height: 1.1;
}
.hgrt-gallery-empty p {
margin: 0;
color: var(--hgrt-gallery-text-soft);
font-size: 1rem;
line-height: 1.7;
} @media (max-width: 1180px) {
.hgrt-gallery-grid {
columns: 3;
}
}
@media (max-width: 820px) {
.hgrt-gallery-shell {
width: min(100% - 28px, 1440px);
}
.hgrt-gallery-grid {
columns: 2;
column-gap: 14px;
}
.hgrt-gallery-card {
margin-bottom: 14px;
}
}
@media (max-width: 520px) {
.hgrt-gallery-hero {
padding-top: 58px;
padding-bottom: 46px;
}
.hgrt-gallery-title {
font-size: clamp(2.3rem, 13vw, 4rem);
}
.hgrt-gallery-intro {
margin-top: 20px;
font-size: 0.98rem;
line-height: 1.65;
}
.hgrt-gallery-filters {
justify-content: flex-start;
flex-wrap: nowrap;
width: calc(100% + 14px);
margin-right: -14px;
padding: 3px 14px 10px 1px;
overflow-x: auto;
scrollbar-width: none;
scroll-snap-type: x proximity;
}
.hgrt-gallery-filters::-webkit-scrollbar {
display: none;
}
.hgrt-gallery-filter {
flex: 0 0 auto;
scroll-snap-align: start;
}
.hgrt-gallery-results {
justify-content: flex-start;
margin-top: 5px;
margin-bottom: 24px;
}
.hgrt-gallery-grid {
columns: 2;
column-gap: 10px;
}
.hgrt-gallery-card {
margin-bottom: 10px;
}
.hgrt-gallery-card-media {
border-radius: 11px;
}
.hgrt-gallery-card-copy {
right: 12px;
bottom: 12px;
left: 12px;
}
.hgrt-gallery-card-title {
max-width: 100%;
font-size: 0.92rem;
}
.hgrt-gallery-card-category {
font-size: 0.59rem;
}
.hgrt-gallery-card-icon {
top: 9px;
right: 9px;
width: 32px;
height: 32px;
font-size: 1.15rem;
}
} @media (prefers-reduced-motion: reduce) {
.hgrt-gallery-card,
.hgrt-gallery-filter,
.hgrt-gallery-card-media,
.hgrt-gallery-card-image,
.hgrt-gallery-card-overlay,
.hgrt-gallery-card-copy,
.hgrt-gallery-card-icon {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
}
}  html.hgrt-gallery-lightbox-open,
body.hgrt-gallery-lightbox-open {
overflow: hidden;
}
body.hgrt-gallery-lightbox-open {
touch-action: none;
} .hgrt-lightbox {
position: fixed;
z-index: 999999;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition:
opacity 240ms ease,
visibility 240ms ease;
}
.hgrt-lightbox.is-open {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
.hgrt-lightbox-backdrop {
position: absolute;
inset: 0;
background:
radial-gradient(
circle at 50% 30%,
rgba(35, 49, 37, 0.5),
rgba(8, 12, 9, 0.96) 68%
);
backdrop-filter: blur(14px);
cursor: zoom-out;
} .hgrt-lightbox-dialog {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 58px minmax(0, 1fr) 58px;
align-items: center;
width: min(100%, 1540px);
height: min(94vh, 980px);
transform:
translateY(18px)
scale(0.985);
transition:
transform 320ms cubic-bezier(0.2, 0.7, 0.25, 1);
}
.hgrt-lightbox.is-open .hgrt-lightbox-dialog {
transform:
translateY(0)
scale(1);
} .hgrt-lightbox-toolbar {
position: absolute;
z-index: 6;
top: 0;
right: 0;
left: 0;
display: flex;
align-items: center;
justify-content: space-between;
min-height: 52px;
padding: 0 2px;
pointer-events: none;
}
.hgrt-lightbox-counter {
display: inline-flex;
align-items: center;
gap: 4px;
min-height: 38px;
padding: 0 14px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 999px;
background: rgba(15, 22, 16, 0.48);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
color: rgba(255, 255, 255, 0.92);
font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.04em;
backdrop-filter: blur(12px);
pointer-events: auto;
}
.hgrt-lightbox-close {
display: inline-flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
background: rgba(15, 22, 16, 0.5);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
color: #fff;
cursor: pointer;
font-size: 2rem;
font-weight: 300;
line-height: 1;
transition:
background-color var(--hgrt-gallery-transition),
border-color var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
backdrop-filter: blur(12px);
pointer-events: auto;
}
.hgrt-lightbox-close:hover {
border-color: rgba(255, 255, 255, 0.42);
background: rgba(255, 255, 255, 0.16);
transform: rotate(5deg);
}
.hgrt-lightbox-close:focus-visible {
outline: 3px solid rgba(245, 161, 35, 0.55);
outline-offset: 3px;
} .hgrt-lightbox-figure {
grid-column: 2;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
width: 100%;
height: calc(100% - 72px);
margin: 64px 0 0;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 20px;
background: rgba(17, 24, 18, 0.96);
box-shadow:
0 32px 100px rgba(0, 0, 0, 0.5),
0 1px 0 rgba(255, 255, 255, 0.08) inset;
} .hgrt-lightbox-image-wrap {
position: relative;
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
min-height: 0;
overflow: hidden;
background:
linear-gradient(
135deg,
rgba(28, 40, 29, 0.98),
rgba(8, 12, 9, 1)
);
}
.hgrt-lightbox-image-wrap::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(
circle at 50% 50%,
rgba(255, 255, 255, 0.045),
transparent 60%
);
pointer-events: none;
}
.hgrt-lightbox-image {
position: relative;
z-index: 2;
display: block;
width: 100%;
height: 100%;
object-fit: contain;
opacity: 0;
transform: scale(0.99);
transition:
opacity 220ms ease,
transform 300ms ease;
user-select: none;
-webkit-user-drag: none;
}
.hgrt-lightbox-image.is-loaded {
opacity: 1;
transform: scale(1);
} .hgrt-lightbox-loader {
position: absolute;
z-index: 3;
top: 50%;
left: 50%;
width: 42px;
height: 42px;
margin: -21px 0 0 -21px;
border: 3px solid rgba(255, 255, 255, 0.2);
border-top-color: #fff;
border-radius: 50%;
opacity: 0;
animation: hgrt-gallery-spin 800ms linear infinite;
pointer-events: none;
}
.hgrt-lightbox-loader.is-visible {
opacity: 1;
}
@keyframes hgrt-gallery-spin {
to {
transform: rotate(360deg);
}
} .hgrt-lightbox-caption {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
min-width: 0;
padding: clamp(30px, 4vw, 58px);
overflow-y: auto;
background:
linear-gradient(
160deg,
rgba(31, 45, 33, 0.98),
rgba(17, 25, 18, 1)
);
color: #fff;
scrollbar-width: thin;
scrollbar-color:
rgba(255, 255, 255, 0.25)
transparent;
}
.hgrt-lightbox-caption::-webkit-scrollbar {
width: 7px;
}
.hgrt-lightbox-caption::-webkit-scrollbar-track {
background: transparent;
}
.hgrt-lightbox-caption::-webkit-scrollbar-thumb {
border-radius: 999px;
background: rgba(255, 255, 255, 0.22);
}
.hgrt-lightbox-category {
margin: 0 0 14px;
color: var(--hgrt-gallery-accent);
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.14em;
line-height: 1.4;
text-transform: uppercase;
}
.hgrt-lightbox-category:empty {
display: none;
}
.hgrt-lightbox-title {
margin: 0;
color: #fff;
font-size: clamp(1.7rem, 3vw, 3.1rem);
font-weight: 750;
letter-spacing: -0.045em;
line-height: 1.04;
text-wrap: balance;
}
.hgrt-lightbox-text {
margin: 20px 0 0;
color: rgba(255, 255, 255, 0.78);
font-size: 1rem;
line-height: 1.65;
}
.hgrt-lightbox-text:empty {
display: none;
}
.hgrt-lightbox-description {
margin: 14px 0 0;
color: rgba(255, 255, 255, 0.58);
font-size: 0.9rem;
line-height: 1.7;
}
.hgrt-lightbox-description:empty {
display: none;
}
.hgrt-lightbox-tour {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 46px;
margin-top: 28px;
padding: 12px 18px;
border: 1px solid rgba(245, 161, 35, 0.65);
border-radius: 999px;
background: var(--hgrt-gallery-accent);
box-shadow: 0 10px 28px rgba(245, 161, 35, 0.2);
color: #241707;
font-size: 0.88rem;
font-weight: 800;
line-height: 1;
text-decoration: none;
transition:
background-color var(--hgrt-gallery-transition),
border-color var(--hgrt-gallery-transition),
box-shadow var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
}
.hgrt-lightbox-tour:hover {
border-color: #ffb542;
background: #ffb542;
box-shadow: 0 14px 32px rgba(245, 161, 35, 0.3);
color: #241707;
transform: translateY(-2px);
}
.hgrt-lightbox-tour:focus-visible {
outline: 3px solid rgba(255, 255, 255, 0.42);
outline-offset: 4px;
} .hgrt-lightbox-arrow {
position: relative;
z-index: 5;
display: inline-flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
background: rgba(15, 22, 16, 0.46);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
color: #fff;
cursor: pointer;
font-size: 1.45rem;
line-height: 1;
transition:
background-color var(--hgrt-gallery-transition),
border-color var(--hgrt-gallery-transition),
opacity var(--hgrt-gallery-transition),
transform var(--hgrt-gallery-transition);
backdrop-filter: blur(12px);
}
.hgrt-lightbox-arrow--previous {
grid-column: 1;
justify-self: start;
}
.hgrt-lightbox-arrow--next {
grid-column: 3;
justify-self: end;
}
.hgrt-lightbox-arrow:hover {
border-color: rgba(255, 255, 255, 0.44);
background: rgba(255, 255, 255, 0.14);
transform: scale(1.06);
}
.hgrt-lightbox-arrow:focus-visible {
outline: 3px solid rgba(245, 161, 35, 0.55);
outline-offset: 3px;
}
.hgrt-lightbox-arrow[disabled] {
opacity: 0.25;
cursor: default;
pointer-events: none;
} .hgrt-lightbox.is-changing .hgrt-lightbox-image {
opacity: 0;
transform: scale(0.985);
}
.hgrt-lightbox.is-changing .hgrt-lightbox-caption {
opacity: 0.72;
} @media (max-width: 1100px) {
.hgrt-lightbox {
padding: 18px;
}
.hgrt-lightbox-dialog {
grid-template-columns: 46px minmax(0, 1fr) 46px;
height: min(95vh, 900px);
}
.hgrt-lightbox-figure {
grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
}
.hgrt-lightbox-caption {
padding: 34px 28px;
}
.hgrt-lightbox-arrow {
width: 42px;
height: 42px;
}
} @media (max-width: 820px) {
.hgrt-lightbox {
align-items: stretch;
padding: 0;
}
.hgrt-lightbox-backdrop {
background: #081009;
backdrop-filter: none;
}
.hgrt-lightbox-dialog {
display: block;
width: 100%;
height: 100%;
transform: translateY(12px);
}
.hgrt-lightbox.is-open .hgrt-lightbox-dialog {
transform: translateY(0);
}
.hgrt-lightbox-toolbar {
top: 10px;
right: 12px;
left: 12px;
}
.hgrt-lightbox-counter {
min-height: 36px;
padding-inline: 12px;
background: rgba(8, 14, 9, 0.62);
}
.hgrt-lightbox-close {
width: 42px;
height: 42px;
background: rgba(8, 14, 9, 0.62);
}
.hgrt-lightbox-figure {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
margin: 0;
border: 0;
border-radius: 0;
background: #081009;
box-shadow: none;
}
.hgrt-lightbox-image-wrap {
flex: 1 1 auto;
min-height: 0;
padding: 70px 12px 12px;
background: #081009;
}
.hgrt-lightbox-image {
width: 100%;
height: 100%;
max-height: none;
object-fit: contain;
}
.hgrt-lightbox-caption {
flex: 0 0 auto;
max-height: 38vh;
padding: 24px 22px 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
background:
linear-gradient(
180deg,
rgba(22, 32, 23, 0.98),
rgba(13, 20, 14, 1)
);
}
.hgrt-lightbox-title {
font-size: clamp(1.45rem, 7vw, 2.25rem);
}
.hgrt-lightbox-text {
margin-top: 14px;
font-size: 0.94rem;
}
.hgrt-lightbox-description {
font-size: 0.86rem;
}
.hgrt-lightbox-tour {
margin-top: 20px;
}
.hgrt-lightbox-arrow {
position: absolute;
z-index: 7;
top: 46%;
width: 44px;
height: 44px;
background: rgba(8, 14, 9, 0.58);
}
.hgrt-lightbox-arrow--previous {
left: 10px;
}
.hgrt-lightbox-arrow--next {
right: 10px;
}
} @media (max-width: 520px) {
.hgrt-lightbox-toolbar {
top: 8px;
right: 10px;
left: 10px;
}
.hgrt-lightbox-counter {
min-height: 34px;
font-size: 0.76rem;
}
.hgrt-lightbox-close {
width: 40px;
height: 40px;
font-size: 1.8rem;
}
.hgrt-lightbox-image-wrap {
padding: 62px 6px 8px;
}
.hgrt-lightbox-caption {
max-height: 42vh;
padding: 20px 18px 26px;
}
.hgrt-lightbox-category {
margin-bottom: 10px;
font-size: 0.64rem;
}
.hgrt-lightbox-title {
font-size: clamp(1.35rem, 7.5vw, 1.9rem);
}
.hgrt-lightbox-text {
font-size: 0.9rem;
line-height: 1.55;
}
.hgrt-lightbox-description {
margin-top: 10px;
font-size: 0.82rem;
line-height: 1.6;
}
.hgrt-lightbox-tour {
width: 100%;
min-height: 44px;
margin-top: 18px;
}
.hgrt-lightbox-arrow {
top: 42%;
width: 40px;
height: 40px;
font-size: 1.25rem;
}
.hgrt-lightbox-arrow--previous {
left: 6px;
}
.hgrt-lightbox-arrow--next {
right: 6px;
}
} @media (max-width: 900px) and (max-height: 540px) and (orientation: landscape) {
.hgrt-lightbox-figure {
flex-direction: row;
}
.hgrt-lightbox-image-wrap {
flex: 1 1 68%;
padding: 58px 8px 8px;
}
.hgrt-lightbox-caption {
flex: 0 0 32%;
max-height: none;
padding: 58px 18px 20px;
border-top: 0;
border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.hgrt-lightbox-title {
font-size: 1.3rem;
}
.hgrt-lightbox-text,
.hgrt-lightbox-description {
font-size: 0.8rem;
}
.hgrt-lightbox-tour {
width: auto;
padding-inline: 14px;
font-size: 0.78rem;
}
} @media (hover: none) and (pointer: coarse) {
.hgrt-gallery-card-overlay {
opacity: 0.7;
background:
linear-gradient(
180deg,
transparent 42%,
rgba(10, 19, 11, 0.7) 100%
);
}
.hgrt-gallery-card-copy {
opacity: 1;
transform: translateY(0);
}
.hgrt-gallery-card-icon {
opacity: 1;
transform:
translateY(0)
rotate(0);
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-media {
transform: none;
}
.hgrt-gallery-card-button:hover .hgrt-gallery-card-image {
transform: scale(1.001);
filter: none;
}
} @media (prefers-reduced-motion: reduce) {
.hgrt-lightbox,
.hgrt-lightbox-dialog,
.hgrt-lightbox-image,
.hgrt-lightbox-caption,
.hgrt-lightbox-close,
.hgrt-lightbox-arrow,
.hgrt-lightbox-tour {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}  .hgrt-gallery-page.is-gallery-ready .hgrt-gallery-card {
will-change: opacity, transform;
}
.hgrt-gallery-page.is-filtering .hgrt-gallery-grid {
pointer-events: none;
}
.hgrt-gallery-page.is-filtering .hgrt-gallery-card {
transition-duration: 180ms;
} .hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card {
opacity: 0;
transform:
translateY(24px)
scale(0.985);
}
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card.is-revealed {
opacity: 1;
transform:
translateY(0)
scale(1);
}
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card:nth-child(2n) {
transition-delay: 35ms;
}
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card:nth-child(3n) {
transition-delay: 70ms;
}
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card:nth-child(4n) {
transition-delay: 105ms;
}
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card:nth-child(5n) {
transition-delay: 140ms;
} .hgrt-gallery-card.is-entering {
animation:
hgrt-gallery-card-enter
360ms
cubic-bezier(0.2, 0.65, 0.3, 1)
both;
}
@keyframes hgrt-gallery-card-enter {
from {
opacity: 0;
transform:
translateY(18px)
scale(0.98);
}
to {
opacity: 1;
transform:
translateY(0)
scale(1);
}
} .hgrt-gallery-no-results {
display: none;
max-width: 620px;
margin: 40px auto 0;
padding: 34px 24px;
border: 1px solid var(--hgrt-gallery-border);
border-radius: var(--hgrt-gallery-radius-medium);
background: rgba(255, 255, 255, 0.76);
color: var(--hgrt-gallery-text-soft);
text-align: center;
backdrop-filter: blur(8px);
}
.hgrt-gallery-no-results.is-visible {
display: block;
animation:
hgrt-gallery-fade-in
260ms
ease
both;
}
.hgrt-gallery-no-results strong {
display: block;
margin-bottom: 7px;
color: var(--hgrt-gallery-text);
font-size: 1.08rem;
}
@keyframes hgrt-gallery-fade-in {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .hgrt-gallery-card-media::before {
content: "";
position: absolute;
z-index: 0;
inset: 0;
background:
linear-gradient(
110deg,
rgba(242, 237, 228, 0.72) 8%,
rgba(255, 255, 255, 0.94) 18%,
rgba(242, 237, 228, 0.72) 33%
);
background-size: 220% 100%;
animation:
hgrt-gallery-skeleton
1.4s
linear
infinite;
}
.hgrt-gallery-card-media.has-loaded::before {
opacity: 0;
visibility: hidden;
animation: none;
transition:
opacity 220ms ease,
visibility 220ms ease;
}
.hgrt-gallery-card-image {
position: relative;
z-index: 1;
}
@keyframes hgrt-gallery-skeleton {
to {
background-position-x: -220%;
}
} .hgrt-lightbox-image-wrap.is-loading {
cursor: progress;
}
.hgrt-lightbox-image-wrap.has-error::after {
content: "The image could not be loaded.";
position: absolute;
z-index: 4;
top: 50%;
left: 50%;
width: min(80%, 340px);
transform: translate(-50%, -50%);
color: rgba(255, 255, 255, 0.76);
font-size: 0.95rem;
line-height: 1.5;
text-align: center;
}
.hgrt-lightbox-image-wrap.has-error .hgrt-lightbox-loader {
display: none;
} .hgrt-lightbox.is-moving-next .hgrt-lightbox-image {
transform:
translateX(-18px)
scale(0.985);
}
.hgrt-lightbox.is-moving-previous .hgrt-lightbox-image {
transform:
translateX(18px)
scale(0.985);
}
.hgrt-lightbox.is-moving-next .hgrt-lightbox-caption,
.hgrt-lightbox.is-moving-previous .hgrt-lightbox-caption {
opacity: 0.55;
transform: translateY(5px);
}
.hgrt-lightbox-caption {
transition:
opacity 220ms ease,
transform 260ms ease;
} .hgrt-lightbox-image-wrap.is-swiping .hgrt-lightbox-image {
transition: none;
}
.hgrt-lightbox-image-wrap {
touch-action: pan-y;
} .hgrt-gallery-filter,
.hgrt-gallery-card-button,
.hgrt-lightbox-close,
.hgrt-lightbox-arrow {
user-select: none;
} @media (min-width: 1181px) {
.hgrt-gallery-grid {
column-width: 280px;
column-count: 4;
}
.hgrt-gallery-card:nth-child(7n + 2) .hgrt-gallery-card-image,
.hgrt-gallery-card:nth-child(7n + 5) .hgrt-gallery-card-image {
min-height: 300px;
}
} @media (min-width: 821px) and (max-width: 1180px) {
.hgrt-gallery-content {
padding-top: 58px;
}
.hgrt-gallery-grid {
column-gap: 16px;
}
.hgrt-gallery-card {
margin-bottom: 16px;
}
} @media (max-width: 820px) {
.hgrt-gallery-page {
overflow: hidden;
}
.hgrt-gallery-hero::before {
top: -120px;
right: -180px;
width: 360px;
height: 360px;
}
.hgrt-gallery-content {
padding-top: 42px;
padding-bottom: 92px;
}
.hgrt-gallery-filter {
min-height: 42px;
padding: 9px 16px;
font-size: 0.86rem;
}
.hgrt-gallery-card-image {
min-height: 180px;
}
} @media (max-width: 520px) {
.hgrt-gallery-page {
background:
radial-gradient(
circle at 20% 4%,
rgba(245, 161, 35, 0.07),
transparent 24%
),
var(--hgrt-gallery-bg);
}
.hgrt-gallery-eyebrow {
gap: 7px;
margin-bottom: 14px;
font-size: 0.66rem;
}
.hgrt-gallery-eyebrow::before,
.hgrt-gallery-eyebrow::after {
width: 18px;
}
.hgrt-gallery-content {
padding-top: 34px;
padding-bottom: 72px;
}
.hgrt-gallery-filter {
min-height: 40px;
padding-inline: 15px;
font-size: 0.82rem;
}
.hgrt-gallery-card-image {
min-height: 135px;
}
.hgrt-gallery-card-copy {
gap: 4px;
}
.hgrt-gallery-card-overlay {
background:
linear-gradient(
180deg,
transparent 35%,
rgba(10, 19, 11, 0.76) 100%
);
}
.hgrt-gallery-card-icon {
border-color: rgba(255, 255, 255, 0.32);
background: rgba(12, 20, 13, 0.35);
}
} @media (max-width: 390px) {
.hgrt-gallery-shell {
width: min(100% - 20px, 1440px);
}
.hgrt-gallery-grid {
column-gap: 8px;
}
.hgrt-gallery-card {
margin-bottom: 8px;
}
.hgrt-gallery-card-media {
border-radius: 9px;
}
.hgrt-gallery-card-copy {
right: 9px;
bottom: 9px;
left: 9px;
}
.hgrt-gallery-card-title {
font-size: 0.82rem;
}
.hgrt-gallery-card-category {
display: none;
}
.hgrt-gallery-card-icon {
top: 7px;
right: 7px;
width: 29px;
height: 29px;
}
} @media (prefers-color-scheme: dark) {
.hgrt-gallery-page {
--hgrt-gallery-bg: #111510;
--hgrt-gallery-bg-soft: #1b211a;
--hgrt-gallery-surface: #1c221b;
--hgrt-gallery-text: #f2f3ed;
--hgrt-gallery-text-soft: #b8bdb1;
--hgrt-gallery-border: #333d31;
--hgrt-gallery-shadow-small:
0 8px 24px rgba(0, 0, 0, 0.22);
--hgrt-gallery-shadow-large:
0 24px 60px rgba(0, 0, 0, 0.46);
background:
radial-gradient(
circle at 12% 8%,
rgba(245, 161, 35, 0.065),
transparent 28%
),
var(--hgrt-gallery-bg);
}
.hgrt-gallery-filter {
background: rgba(28, 34, 27, 0.82);
color: var(--hgrt-gallery-text);
}
.hgrt-gallery-filter:hover {
background: #242c23;
}
.hgrt-gallery-filter.is-active {
background: var(--hgrt-gallery-primary);
color: #fff;
}
.hgrt-gallery-card-media {
background: var(--hgrt-gallery-bg-soft);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.04) inset,
var(--hgrt-gallery-shadow-small);
}
.hgrt-gallery-card-media::before {
background:
linear-gradient(
110deg,
rgba(27, 33, 26, 0.88) 8%,
rgba(45, 54, 43, 0.92) 18%,
rgba(27, 33, 26, 0.88) 33%
);
background-size: 220% 100%;
}
.hgrt-gallery-empty,
.hgrt-gallery-no-results {
background:
linear-gradient(
145deg,
rgba(29, 35, 28, 0.96),
rgba(20, 25, 20, 0.92)
);
}
} html.dark .hgrt-gallery-page,
body.dark .hgrt-gallery-page,
html.dark-mode .hgrt-gallery-page,
body.dark-mode .hgrt-gallery-page,
html.is-dark .hgrt-gallery-page,
body.is-dark .hgrt-gallery-page,
body.hgrt-dark-mode .hgrt-gallery-page {
--hgrt-gallery-bg: #111510;
--hgrt-gallery-bg-soft: #1b211a;
--hgrt-gallery-surface: #1c221b;
--hgrt-gallery-text: #f2f3ed;
--hgrt-gallery-text-soft: #b8bdb1;
--hgrt-gallery-border: #333d31;
--hgrt-gallery-shadow-small:
0 8px 24px rgba(0, 0, 0, 0.22);
--hgrt-gallery-shadow-large:
0 24px 60px rgba(0, 0, 0, 0.46);
background:
radial-gradient(
circle at 12% 8%,
rgba(245, 161, 35, 0.065),
transparent 28%
),
var(--hgrt-gallery-bg);
}
html.dark .hgrt-gallery-filter,
body.dark .hgrt-gallery-filter,
html.dark-mode .hgrt-gallery-filter,
body.dark-mode .hgrt-gallery-filter,
html.is-dark .hgrt-gallery-filter,
body.is-dark .hgrt-gallery-filter,
body.hgrt-dark-mode .hgrt-gallery-filter {
background: rgba(28, 34, 27, 0.82);
color: var(--hgrt-gallery-text);
}
html.dark .hgrt-gallery-filter.is-active,
body.dark .hgrt-gallery-filter.is-active,
html.dark-mode .hgrt-gallery-filter.is-active,
body.dark-mode .hgrt-gallery-filter.is-active,
html.is-dark .hgrt-gallery-filter.is-active,
body.is-dark .hgrt-gallery-filter.is-active,
body.hgrt-dark-mode .hgrt-gallery-filter.is-active {
background: var(--hgrt-gallery-primary);
color: #fff;
}
html.dark .hgrt-gallery-card-media,
body.dark .hgrt-gallery-card-media,
html.dark-mode .hgrt-gallery-card-media,
body.dark-mode .hgrt-gallery-card-media,
html.is-dark .hgrt-gallery-card-media,
body.is-dark .hgrt-gallery-card-media,
body.hgrt-dark-mode .hgrt-gallery-card-media {
background: var(--hgrt-gallery-bg-soft);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.04) inset,
var(--hgrt-gallery-shadow-small);
} @media (forced-colors: active) {
.hgrt-gallery-filter,
.hgrt-gallery-card-button,
.hgrt-lightbox-close,
.hgrt-lightbox-arrow,
.hgrt-lightbox-tour {
forced-color-adjust: auto;
}
.hgrt-gallery-card-media,
.hgrt-lightbox-figure {
border: 1px solid CanvasText;
}
.hgrt-gallery-card-overlay {
display: none;
}
.hgrt-gallery-card-copy {
position: static;
padding: 10px;
background: Canvas;
color: CanvasText;
opacity: 1;
transform: none;
}
.hgrt-gallery-card-title,
.hgrt-gallery-card-category {
color: CanvasText;
text-shadow: none;
}
} @supports not (overflow: clip) {
.hgrt-gallery-page {
overflow: hidden;
}
}
@supports not (backdrop-filter: blur(8px)) {
.hgrt-gallery-filter {
background: var(--hgrt-gallery-surface);
}
.hgrt-lightbox-backdrop {
background: rgba(8, 12, 9, 0.98);
}
.hgrt-lightbox-counter,
.hgrt-lightbox-close,
.hgrt-lightbox-arrow {
background: rgba(12, 18, 13, 0.94);
}
}
@supports not (text-wrap: balance) {
.hgrt-gallery-title,
.hgrt-gallery-intro,
.hgrt-gallery-card-title,
.hgrt-lightbox-title {
text-wrap: wrap;
}
} @media print {
.hgrt-gallery-filters,
.hgrt-gallery-results,
.hgrt-lightbox {
display: none !important;
}
.hgrt-gallery-page {
min-height: 0;
background: #fff;
color: #000;
}
.hgrt-gallery-hero {
padding: 20px 0 30px;
}
.hgrt-gallery-content {
padding: 20px 0;
}
.hgrt-gallery-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
columns: auto;
}
.hgrt-gallery-card {
display: block;
margin: 0;
break-inside: avoid;
}
.hgrt-gallery-card-media {
border: 1px solid #bbb;
box-shadow: none;
}
.hgrt-gallery-card-copy,
.hgrt-gallery-card-icon,
.hgrt-gallery-card-overlay {
display: none;
}
} @media (prefers-reduced-motion: reduce) {
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card,
.hgrt-gallery-page.has-gallery-animation .hgrt-gallery-card.is-revealed,
.hgrt-gallery-card.is-entering,
.hgrt-lightbox.is-moving-next .hgrt-lightbox-image,
.hgrt-lightbox.is-moving-previous .hgrt-lightbox-image {
opacity: 1 !important;
transform: none !important;
animation: none !important;
transition: none !important;
}
.hgrt-gallery-card-media::before,
.hgrt-lightbox-loader {
animation: none !important;
}
}