.apy-tabbed-gallery {
--apy-tg-accent: var(--apy-primary, #8f7452); --apy-tg-dots-fill: #111827; --apy-tg-underline-pad: 28px; --apy-tg-nav-line-extra: 40px;
width: 100%;
max-width: var(--apy-tg-max-w, none);
margin: 0 auto var(--apy-space-section, 48px);
}
.apy-tabbed-gallery__nav {
display: flex;
flex-direction: column;
align-items: stretch;
width: 100%;
margin-bottom: 1.25rem;
} .apy-tabbed-gallery__nav-inner {
display: flex;
justify-content: center;
width: 100%;
max-width: 100%;
}
.apy-tabbed-gallery__tabs-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: clamp(1rem, 4vw, 2.75rem);
}
.apy-tabbed-gallery__tab {
all: unset;
box-sizing: border-box;
cursor: pointer;
font-family: inherit;
font-size: clamp(0.95rem, 1.5vw, 1.05rem); font-weight: 600;
letter-spacing: 0.02em;
color: rgba(17, 24, 39, 0.42);
padding: 0.35rem 0;
transition: color 0.25s ease;
white-space: nowrap;
}
.apy-tabbed-gallery__tab:hover,
.apy-tabbed-gallery__tab:focus-visible {
color: rgba(17, 24, 39, 0.72);
}
.apy-tabbed-gallery__tab.is-active {
color: #111827;
}
.apy-tabbed-gallery__tab:focus-visible {
outline: 2px solid color-mix(in srgb, var(--apy-tg-accent) 45%, transparent);
outline-offset: 4px;
border-radius: 4px;
} .apy-tabbed-gallery__nav-line-wrap {
position: relative;
width: 100%;
height: 2px;
margin-top: 0.55rem;
}
.apy-tabbed-gallery__nav-line {
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
width: min(100%, var(--apy-tg-tabs-track-w, 100%));
height: 1px;
background: rgba(17, 24, 39, 0.14);
border-radius: 1px;
}
.apy-tabbed-gallery__underline {
position: absolute;
left: 0;
bottom: 0;
height: 2px;
width: 0;
border-radius: 2px;
background: #111827;
transform: translateX(0); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
will-change: transform;
z-index: 1;
} .apy-tabbed-gallery__stage {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: minmax(0, auto);
position: relative;
width: 100%;
min-width: 0;
overflow: visible;
}
.apy-tabbed-gallery__panel {
grid-area: 1 / 1;
width: 100%;
min-width: 0;
position: relative;
z-index: 0;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.35s ease, visibility 0.35s ease;
}
.apy-tabbed-gallery__panel:not(.is-active) {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 0;
overflow: hidden;
}
.apy-tabbed-gallery__panel.is-active {
z-index: 1;
opacity: 1;
visibility: visible;
pointer-events: auto;
position: relative;
height: auto;
overflow: visible;
}
.apy-tabbed-gallery__viewport {
position: relative;
width: 100%;
background: transparent;
overflow: visible;
}
.apy-tabbed-gallery__viewport--video {
aspect-ratio: var(--apy-tg-aspect, 21 / 9);
min-height: var(--apy-tg-min-h, 280px);
max-height: var(--apy-tg-max-h, none);
background: #000;
overflow: hidden;
}
.apy-tabbed-gallery__viewport--video-list {
aspect-ratio: auto;
min-height: 0;
max-height: none;
background: transparent;
overflow: visible;
padding: 0.25rem 0;
}
.apy-tabbed-gallery__slider-root {
display: flex;
flex-direction: column;
align-items: stretch;
width: 100%;
} .apy-tabbed-gallery__slider-figure {
position: relative;
width: 100%;
aspect-ratio: var(--apy-tg-aspect, 21 / 9);
min-height: var(--apy-tg-min-h, 280px);
max-height: var(--apy-tg-max-h, none);
background: #0b0f14;
overflow: hidden;
}
.apy-tabbed-gallery__hero.apy-home-hero {
position: absolute;
inset: 0;
height: 100% !important;
min-height: 0 !important;
margin-bottom: 0;
--apy-hero-height-vh: 100%;
} .apy-main .apy-tabbed-gallery .apy-home-hero {
width: 100%;
max-width: none;
margin-left: 0;
margin-right: 0;
} .apy-tabbed-gallery__dots-below.apy-home-hero-dots {
position: relative !important;
left: auto !important;
right: auto !important;
bottom: auto !important;
top: auto !important;
transform: none !important;
flex-shrink: 0;
align-self: center;
display: flex !important;
justify-content: center;
align-items: center;
margin-top: var(--apy-tg-dots-gap, 0.65rem);
margin-bottom: 0;
padding: var(--apy-tg-dots-padding, 0);
outline: var(--apy-tg-dots-outline, none);
outline-offset: var(--apy-tg-dots-outline-offset, 0);
width: auto;
max-width: 100%;
z-index: 2;
background: transparent !important;
box-sizing: border-box;
}
.apy-tabbed-gallery__dots-below .apy-home-hero-dot__track {
width: var(--apy-tg-dot-w, 3.25rem);
background: var(--apy-tg-dots-track-bg, rgba(17, 24, 39, 0.18));
box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08) inset;
}
.apy-tabbed-gallery__dots-below .apy-home-hero-dot__track::after {
background: var(--apy-tg-dots-fill, #111827) !important;
}
.apy-tabbed-gallery__dots-below .apy-home-hero-dot.is-active .apy-home-hero-dot__track::after {
background: var(--apy-tg-dots-fill, #111827) !important;
opacity: 1;
}
.apy-tabbed-gallery__dots-below .apy-home-hero-dot:focus-visible {
outline: 2px solid rgba(17, 24, 39, 0.45);
outline-offset: 4px;
}
.apy-tabbed-gallery__hero .apy-home-slide-media {
transform: scale(1.02);
transition: transform 8s ease-out;
}
.apy-tabbed-gallery__hero .apy-home-slide.is-active .apy-home-slide-media {
transform: scale(1);
}
.apy-tabbed-gallery__empty {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 1rem;
color: rgba(255, 255, 255, 0.75);
font-size: 0.95rem;
text-align: center;
} .apy-tabbed-gallery__video {
position: absolute;
inset: 0;
background: #000;
}
.apy-tabbed-gallery__video-list {
container-type: inline-size;
container-name: apy-tg-vlist;
--apy-tg-video-grid-gap: 0.9rem;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--apy-tg-video-grid-gap);
width: 100%;
height: auto;
max-width: 1120px;
margin: 0 auto;
align-items: start;
} @media (min-width: 901px) {
.apy-tabbed-gallery__video-list > *:last-child:nth-child(odd):not(:only-child) {
grid-column: 1 / -1;
aspect-ratio: 32 / 9;
}
}
@supports (height: 1cqi) {
@media (min-width: 901px) {
.apy-tabbed-gallery__video-list > *:last-child:nth-child(odd):not(:only-child) {
aspect-ratio: unset;
height: calc((100cqi - var(--apy-tg-video-grid-gap)) / 2 * 9 / 16);
}
}
}
.apy-tabbed-gallery__video--inline {
position: relative;
inset: auto;
aspect-ratio: 16 / 9;
min-height: 0;
border-radius: 8px;
overflow: hidden;
}
.apy-tabbed-gallery__video-poster {
position: absolute;
inset: 0;
}
.apy-tabbed-gallery__video-poster img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}
.apy-tabbed-gallery__video-play {
position: absolute;
inset: 0;
margin: 0;
padding: 0;
border: 0;
background: rgba(0, 0, 0, 0.22);
cursor: pointer;
display: grid;
place-items: center;
transition: background 0.25s ease;
}
.apy-tabbed-gallery__video-play:hover,
.apy-tabbed-gallery__video-play:focus-visible {
background: rgba(0, 0, 0, 0.38);
}
.apy-tabbed-gallery__video-play:focus-visible {
outline: 2px solid #fff;
outline-offset: 4px;
}
.apy-tabbed-gallery__video-play-icon {
width: 0;
height: 0;
border-style: solid;
border-width: 22px 0 22px 38px;
border-color: transparent transparent transparent #3f88cf;
margin-left: 8px;
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}
.apy-tabbed-gallery__video-frame {
position: absolute;
inset: 0;
}
.apy-tabbed-gallery__video-frame iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
}
@media (max-width: 900px) {
.apy-tabbed-gallery__video-list {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.apy-tabbed-gallery__tabs-row {
gap: 0.75rem 1.25rem;
}
.apy-tabbed-gallery__dots-below.apy-home-hero-dots {
--apy-tg-dot-gap: 0.4rem;
--apy-tg-dot-w: min(
3.25rem,
max(
1.65rem,
calc((100% - (var(--apy-tg-dot-count, 5) - 1) * var(--apy-tg-dot-gap)) / var(--apy-tg-dot-count, 5))
)
);
gap: var(--apy-tg-dot-gap);
width: 100%;
max-width: 100%;
justify-content: center;
overflow: hidden;
}
.apy-tabbed-gallery__dots-below .apy-home-hero-dot {
min-width: var(--apy-tg-dot-w);
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
}