.pacc-gallery { color: #202820; background: #fff; }
.pacc-gallery [hidden] { display: none !important; }
.pacc-gallery-hero { position: relative; min-height: clamp(560px,70svh,680px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #163628; color: #fff; margin: 20px; border-radius: 16px; }
.pacc-hero-background, .pacc-hero-frame, .pacc-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.pacc-hero-poster { position: absolute; inset: 0; }
.pacc-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.pacc-hero-frame { opacity: 0; transition: opacity 1.4s ease; }
.pacc-hero-frame.is-active { opacity: 1; }
.pacc-hero-frame img, .pacc-hero-video { width: 100%; height: 100%; object-fit: cover; }
.pacc-hero-frame img { transform: scale(1.035); }
.pacc-hero-frame.is-active img { animation: pacc-gallery-drift 12s linear both; }
.pacc-gallery-hero.is-paused .pacc-hero-frame img { animation-play-state: paused; }
.pacc-hero-video { opacity: 0; transition: opacity .6s; }
.pacc-hero-video.is-playing { opacity: 1; }
.pacc-gallery-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,rgba(8,24,17,.55),transparent 78%),linear-gradient(0deg,rgba(8,24,17,.75),transparent 85%); }
.pacc-gallery .inner-shell { width: min(1360px,calc(100% - 80px)); max-width: none; margin-inline: auto; }
.pacc-gallery-hero-copy { position: relative; z-index: 2; width: min(1280px,100% - 80px); margin: 0 auto; padding: 65px 0; }
.pacc-gallery-eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600; }
.pacc-gallery-hero h1 { color: #fff; font-size: clamp(42px,5.3vw,76px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 22px; max-width: 880px; }
.pacc-gallery-hero-copy > p:not(.pacc-gallery-eyebrow) { max-width: 580px; line-height: 1.65; margin: 0 0 30px; }
.pacc-gallery-explore { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 36px; min-height: 44px; border-bottom: 1px solid #ffffff80; }
.pacc-hero-pause { position: absolute; z-index: 3; bottom: 32px; right: 32px; color: #fff; background: #092015a6; border: 1px solid #ffffff80; border-radius: 50px; min-width: 72px; min-height: 44px; cursor: pointer; font: inherit; font-size: 12px; }
.pacc-gallery-featured { padding: 64px 0 68px; overflow: hidden; }
.pacc-gallery-featured .pacc-gallery-heading { text-align: center; }
.pacc-gallery-heading { margin-bottom: 36px; }
.pacc-gallery-heading .pacc-gallery-eyebrow { color: #138440; }
.pacc-gallery-heading h2 { font-size: clamp(32px,3.1vw,46px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 13px; }
.pacc-gallery-heading > p:last-child { color: #5c655e; line-height: 1.65; margin: 0; }
.pacc-featured-swiper { position: relative; overflow: visible; }
.pacc-featured-swiper .swiper-wrapper { align-items: stretch; }
.pacc-feature-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pacc-feature-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #20282014; border-radius: 50%; color: #202820; background: #ffffffe6; backdrop-filter: blur(12px); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease,background-color .2s ease; }
.pacc-feature-previous { left: 24px; }
.pacc-feature-next { right: 24px; }
.pacc-feature-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pacc-feature-arrow:hover { background: #fff; }
.pacc-featured-swiper:is(:hover,:focus-within) .pacc-feature-arrow:not(:disabled) { opacity: 1; pointer-events: auto; }
.pacc-feature-arrow:disabled, .pacc-feature-arrow.swiper-button-lock { visibility: hidden; }
.pacc-featured-swiper:focus-visible { outline: 3px solid #b58b29; outline-offset: -4px; }
@media(hover:none) { .pacc-feature-arrow:not(:disabled) { opacity: 1; pointer-events: auto; } }
@media(max-width:767px) { .pacc-feature-arrow { width: 44px; height: 44px; } .pacc-feature-previous { left: 12px; } .pacc-feature-next { right: 12px; } }
.pacc-gallery .pacc-feature-slide { width: 74%; max-width: 1000px; margin: 0; opacity: .6; transition: opacity .35s; }
.pacc-gallery .pacc-feature-slide.swiper-slide-active { opacity: 1; }
.pacc-gallery .pacc-feature-slide .pacc-gallery-card { aspect-ratio: 16 / 10; }
.pacc-gallery .pacc-feature-slide img { height: 100%; aspect-ratio: auto; object-fit: cover; }
.pacc-featured-swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; overflow-x: auto; gap: 24px; padding: 0 24px; scroll-snap-type: x mandatory; }
.pacc-featured-swiper:not(.swiper-initialized) .pacc-feature-slide { flex-shrink: 0; scroll-snap-align: center; }
.pacc-gallery .pacc-media-grid { display: block; }
.pacc-gallery-masonry { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: start; }
.pacc-gallery-masonry.is-masonry { grid-auto-rows: 20px; row-gap: 0; }
.pacc-gallery .pacc-media-item { margin: 0 0 20px; break-inside: avoid; }
.pacc-gallery .pacc-media-item img { display: block; width: 100%; height: auto; aspect-ratio: auto; transition: transform .55s ease,filter .4s ease; }
.pacc-gallery .pacc-feature-slide .pacc-gallery-card img { height: 100%; object-fit: cover; }
.pacc-gallery-card { display: block; position: relative; overflow: hidden; color: #fff; background: #163628; text-decoration: none; border-radius: 12px; }
.pacc-gallery-masonry .pacc-media-item { margin: 0; }
.pacc-gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#071b12d9,transparent 68%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pacc-gallery-kind { position: absolute; z-index: 2; top: 18px; left: 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; padding: 6px 10px; background: #092015b3; }
.pacc-gallery-caption { position: absolute; z-index: 2; bottom: 24px; left: 24px; right: 24px; display: grid; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .3s,transform .3s; }
.pacc-gallery-caption strong { font-size: clamp(18px,2vw,28px); font-weight: 500; line-height: 1.2; }
.pacc-gallery-caption > span { font-size: 12px; }
.pacc-gallery-open { position: absolute; z-index: 2; left: 50%; top: 45%; transform: translate(-50%,-50%); opacity: 0; padding: 12px 18px; border: 1px solid #fff9; border-radius: 50px; white-space: nowrap; font-size: 12px; transition: opacity .3s; }
.pacc-gallery-card:is(:hover,:focus-visible)::after, .pacc-feature-slide .pacc-gallery-card::after, .pacc-gallery-videos .pacc-gallery-card::after { opacity: 1; }
.pacc-gallery-card:is(:hover,:focus-visible) .pacc-gallery-caption, .pacc-feature-slide .pacc-gallery-caption, .pacc-gallery-videos .pacc-gallery-caption { opacity: 1; transform: none; }
.pacc-gallery-card:is(:hover,:focus-visible) .pacc-gallery-open, .pacc-gallery-videos .pacc-gallery-open { opacity: 1; }
.pacc-gallery-card:hover img { transform: scale(1.025); }
.pacc-gallery .pacc-media-item > figcaption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.pacc-gallery .pacc-media-item > figcaption a { display: none; }
.pacc-gallery .pacc-media-item > figcaption details { display: none; }
.pacc-gallery :is(a,button,select,input):focus-visible { outline: 3px solid #b58b29; outline-offset: 4px; }
.pacc-gallery-videos { margin-top: 64px; }
.pacc-gallery-videos h3 { font-size: clamp(24px,3vw,36px); font-weight: 500; margin: 0 0 28px; }
.pacc-gallery-films { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.pacc-gallery-films .pacc-gallery-card { aspect-ratio: 16/10; }
.pacc-gallery .pacc-gallery-films img { height: 100%; object-fit: cover; }
.pacc-gallery .pacc-media-filters { border-top: 1px solid #e1e4df; border-bottom: 1px solid #e1e4df; padding: 24px 0; }
/* Override generated WordPress form rules that use missing theme presets. */
body .wp-site-blocks .pacc-gallery .pacc-media-filters select {
 width: 100%; min-height: 50px; padding: 12px 42px 12px 14px;
 border: 1px solid #138440; border-radius: 9px;
 color: #202820; background-color: #fff; font: inherit; appearance: none;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23138440' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
body .wp-site-blocks .pacc-gallery .pacc-media-filter-actions button.solid-action {
 min-height: 50px; padding: 12px 22px; border: 2px solid #138440;
 border-radius: 9px; background: #138440; color: #fff;
 font: inherit; font-weight: 600; line-height: 1; white-space: nowrap;
}
body .wp-site-blocks .pacc-gallery .pacc-media-filter-actions button.solid-action:hover {
 background: #106d35; border-color: #106d35; color: #fff;
}
body .wp-site-blocks .pacc-gallery .pacc-media-filters :is(select,button,a):focus-visible {
 outline: 3px solid #138440; outline-offset: 4px;
}
@media (forced-colors: active) {
 body .wp-site-blocks .pacc-gallery .pacc-media-filters select { appearance: auto; background-image: none; padding-right: 14px; }
}
@keyframes pacc-gallery-drift { from { transform: scale(1.035); } to { transform: scale(1); } }
@media(max-width:1024px) { .pacc-gallery-hero-copy { width: calc(100% - 64px); } }
@media(max-width:767px) { .pacc-gallery .inner-shell { width: calc(100% - 32px); } .pacc-gallery-hero { min-height: clamp(500px,60svh,520px); margin: 12px; border-radius: 14px; } .pacc-gallery-hero-copy { width: calc(100% - 40px); padding: 40px 0 85px; } .pacc-gallery-hero h1 { font-size: 45px; } .pacc-hero-pause { right: 16px; bottom: 16px; } .pacc-gallery-featured { padding: 39px 0 43px; } .pacc-gallery .pacc-feature-slide { width: 88%; } .pacc-gallery .pacc-feature-slide .pacc-gallery-card { aspect-ratio: 4 / 5; } .pacc-gallery-masonry,.pacc-gallery-masonry.is-masonry { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; } .pacc-gallery-films { grid-template-columns: 1fr; } .pacc-gallery-caption { left: 18px; right: 18px; bottom: 18px; } .pacc-gallery-videos { margin-top: 40px; } .pacc-gallery-card::after { opacity: 1; } .pacc-gallery-caption { opacity: 1; transform: none; } }
@media(hover:none) { .pacc-gallery-card::after { opacity: 1; } .pacc-gallery-caption { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:reduce) { .pacc-gallery *, .pacc-gallery *::after { animation: none !important; transition: none !important; } .pacc-gallery .pacc-hero-frame img, .pacc-gallery-card:hover img { transform: none; } }

/* Option A: a full-width gradient inside the media, with details on demand. */
.pacc-gallery-page .glightbox-container .ginner-container { position: relative; height: auto; }
.pacc-gallery-page .glightbox-container .ginner-container:has(.gslide-image) { width: fit-content; }
.pacc-gallery-page .glightbox-container .gslide-description { position: absolute; inset: auto 0 0; width: 100%; max-width: none; max-height: 100%; overflow-y: auto; margin: 0; padding: 0; background: linear-gradient(transparent,rgba(5,13,8,.86)); color: #fff; border: 0; border-radius: 0; backdrop-filter: none; z-index: 4; }
.pacc-gallery-page .glightbox-container .gdesc-inner { padding: 75px 26px 23px; }
.pacc-gallery-page .glightbox-container .pacc-viewer-caption { position: relative; margin: 0; }
.pacc-gallery-page .glightbox-container .pacc-viewer-caption.pacc-has-details { min-height: 44px; }
.pacc-gallery-page .glightbox-container .pacc-has-details .pacc-viewer-heading { padding-right: 96px; }
.pacc-gallery-page .glightbox-container .pacc-viewer-caption h2 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; margin: 0; color: #fff; }
.pacc-gallery-page .glightbox-container .pacc-media-credit { font-size: 12px; line-height: 1.5; margin: 4px 0 0; color: #dce7df; }
.pacc-gallery-page .glightbox-container .pacc-media-credit:first-child { margin-top: 0; }
.pacc-gallery-page .glightbox-container .pacc-viewer-details summary { position: absolute; right: 0; top: 0; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid #ffffff50; background: #07120b70; border-radius: 7px; font-size: 12px; cursor: pointer; list-style: none; }
.pacc-gallery-page .glightbox-container .pacc-viewer-caption:not(:has(.pacc-viewer-heading)) summary { position: static; width: max-content; margin-left: auto; }
.pacc-gallery-page .glightbox-container .pacc-viewer-details summary::-webkit-details-marker { display: none; }
.pacc-gallery-page .glightbox-container .pacc-viewer-details[open] summary { background: #ffffff20; }
.pacc-gallery-page .glightbox-container .pacc-viewer-details > div { max-height: 160px; overflow-y: auto; padding-top: 14px; }
.pacc-gallery-page .glightbox-container .pacc-viewer-details p { font-size: 13px; line-height: 1.65; margin: 0 0 10px; }
.pacc-gallery-page .glightbox-container .pacc-viewer-details a { color: #fff; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.pacc-gallery-page .glightbox-container .gslide-inline .ginlined-content { padding: 0; background: #0c1811; }
.pacc-gallery-page .glightbox-container .gslide-inline,.pacc-gallery-page .glightbox-container .gslide-inline .ginlined-content { height: auto !important; }
.pacc-gallery-page .glightbox-container .ginner-container:has(.gslide-inline,.gslide-external) { width: min(900px,100vw); }
.pacc-gallery-page .glightbox-container .ginner-container:has(.gslide-external) { height: auto !important; }
.pacc-gallery-page .glightbox-container .gslide-external { height: auto !important; width: 100% !important; aspect-ratio: 16/9; position: relative; flex: 0 0 auto; }
.pacc-gallery-page .glightbox-container .gslide-external iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; }
.pacc-gallery-page .glightbox-container .gslide-external + .gslide-description { position: absolute; inset: 0 0 auto; padding: 0; background: linear-gradient(rgba(5,13,8,.88),transparent); }
.pacc-gallery-page .glightbox-container .pacc-native-video > p { display: none; }
.pacc-gallery-page .glightbox-container .ginner-container:has(.gslide-inline,.gslide-external) .gslide-description { inset: 0 0 auto; max-height: calc(100% - 56px); background: linear-gradient(rgba(5,13,8,.88),transparent); }
.pacc-gallery-page .glightbox-container .ginner-container:has(.gslide-inline,.gslide-external) .gdesc-inner { padding: 22px 26px 65px; }
.pacc-gallery-page .glightbox-container :is(a,summary):focus-visible { outline: 3px solid #b58b29; outline-offset: 3px; }
@media(max-width:767px) { .pacc-gallery-page .glightbox-container .gdesc-inner { padding: 50px 15px 14px; } .pacc-gallery-page .glightbox-container .pacc-viewer-caption h2 { font-size: 16px; } .pacc-gallery-page .glightbox-container .pacc-media-credit { font-size: 11px; } .pacc-gallery-page .glightbox-container .pacc-has-details .pacc-viewer-heading { padding-right: 80px; } .pacc-gallery-page .glightbox-container .pacc-viewer-details summary { padding-inline: 12px; font-size: 11px; } .pacc-gallery-page .glightbox-container .ginner-container:has(.gslide-inline,.gslide-external) .gdesc-inner { padding: 12px 15px 40px; } .pacc-gallery-page .glightbox-container .pacc-viewer-details > div { max-height: 100px; } .pacc-gallery-page .glightbox-container .pacc-viewer-details p { font-size: 12px; } }
