.aexpert-gallery-works {
--aegw-radius: 30px;
--aegw-radius-sm: 24px;
--aegw-blue: #3b82f6;
--aegw-text: #1f2937;
--aegw-muted: #6b7280;
--aegw-line: #e5e7eb;
--aegw-soft: #f3f6fb;
}
.aexpert-gallery-works__title {
margin-bottom: 12px;
}
.aexpert-gallery-works__title h2 {
margin: 0;
font-size: clamp(28px, 3vw, 42px);
line-height: 1.2;
color: var(--aegw-text);
}
.aexpert-gallery-works__intro {
max-width: 820px;
margin: 0 0 28px;
color: var(--aegw-muted);
font-size: 16px;
line-height: 1.55;
}
.aexpert-gallery-works__filters {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 28px;
}
.aexpert-gallery-works__filter {
appearance: none;
border: 1px solid var(--aegw-line);
background: #fff;
color: var(--aegw-text);
border-radius: 150px;
padding: 10px 18px;
font-size: 14px;
line-height: 1.2;
cursor: pointer;
transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.aexpert-gallery-works__filter:hover,
.aexpert-gallery-works__filter:focus-visible {
border-color: var(--aegw-blue);
color: var(--aegw-blue);
outline: none;
}
.aexpert-gallery-works__filter.is-active {
background: var(--aegw-blue);
border-color: var(--aegw-blue);
color: #fff;
}
.aexpert-gallery-works__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}
.aexpert-gallery-works__card {
display: flex;
flex-direction: column;
min-width: 0;
} .aexpert-gallery-works__card[hidden],
.aexpert-gallery-works__card.is-collapsed {
display: none !important;
}
.aexpert-gallery-works__media {
display: block;
width: 100%;
padding: 0;
border: 0;
background: var(--aegw-soft);
border-radius: var(--aegw-radius-sm);
overflow: hidden;
cursor: zoom-in;
aspect-ratio: 4 / 3;
}
.aexpert-gallery-works__media:focus-visible {
outline: 2px solid var(--aegw-blue);
outline-offset: 3px;
}
.aexpert-gallery-works__img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
background: var(--aegw-soft);
}
.aexpert-gallery-works__card-title {
margin: 14px 0 8px;
font-size: 18px;
line-height: 1.3;
color: var(--aegw-text);
font-weight: 700;
}
.aexpert-gallery-works__card-text {
margin: 0;
color: var(--aegw-muted);
font-size: 14px;
line-height: 1.5;
}
.aexpert-gallery-works__more-wrap,
.aexpert-gallery-works__cta-wrap {
display: flex;
justify-content: center;
margin-top: 28px;
}
.aexpert-gallery-works__more-wrap[hidden] {
display: none !important;
}
.aexpert-gallery-works__more {
min-width: 200px;
}
.aexpert-gallery-works__cta-wrap .btn {
min-width: 280px;
} .aexpert-gallery-works__lightbox[hidden] {
display: none !important;
}
.aexpert-gallery-works__lightbox {
position: fixed;
inset: 0;
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.aexpert-gallery-works__lightbox-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.aexpert-gallery-works__lightbox-dialog {
position: relative;
z-index: 1;
max-width: min(1100px, 100%);
max-height: 90vh;
background: transparent;
border: 0;
border-radius: 0;
padding: 0;
box-shadow: none;
}
.aexpert-gallery-works__lightbox-img {
display: block;
max-width: 100%;
max-height: 90vh;
width: auto;
height: auto;
margin: 0 auto;
object-fit: contain;
border-radius: 16px;
background: transparent;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
} .aexpert-gallery-works__lightbox-close.close {
position: absolute;
top: 20px;
right: 20px;
width: 20px;
height: 20px;
border: 0;
padding: 0;
margin: 0;
background: transparent;
cursor: pointer;
z-index: 10001;
-webkit-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
transform: rotate(45deg);
color: inherit;
font-size: 0;
line-height: 0;
}
.aexpert-gallery-works__lightbox-close.close:before,
.aexpert-gallery-works__lightbox-close.close:after {
content: "";
position: absolute;
background-color: #A4A6B3;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
left: 0;
right: 0;
margin: auto;
-webkit-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}
.aexpert-gallery-works__lightbox-close.close:before {
width: 20px;
height: 2px;
}
.aexpert-gallery-works__lightbox-close.close:after {
width: 2px;
height: 20px;
}
.aexpert-gallery-works__lightbox-close.close:hover:before,
.aexpert-gallery-works__lightbox-close.close:hover:after,
.aexpert-gallery-works__lightbox-close.close:focus-visible:before,
.aexpert-gallery-works__lightbox-close.close:focus-visible:after {
background-color: #7d8090;
}
.aexpert-gallery-works__lightbox-close.close:focus-visible {
outline: none;
}
@media (max-width: 1100px) {
.aexpert-gallery-works__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.aexpert-gallery-works__lightbox-close.close {
top: 20px;
right: 20px;
}
}
@media (max-width: 700px) {
.aexpert-gallery-works__grid {
grid-template-columns: 1fr;
}
.aexpert-gallery-works__cta-wrap .btn {
width: 100%;
min-width: 0;
}
.aexpert-gallery-works__filters {
gap: 8px;
}
.aexpert-gallery-works__filter {
padding: 8px 14px;
font-size: 13px;
}
}