/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
.cp-gallery{margin:28px 0 36px;}.cp-gallery__stage{position:relative;border-radius:18px;overflow:hidden;background:#111;box-shadow:0 18px 40px rgba(0,0,0,0.18);}.cp-gallery__main{display:block;background:#111;}.cp-gallery__main img{display:block;width:100%;height:auto;max-height:76vh;object-fit:contain;background:#111;}.cp-gallery__nav,.cp-gallery__modal-nav,.cp-gallery__close{border:0;cursor:pointer;}.cp-gallery__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:52px;height:52px;border-radius:999px;background:rgba(17,17,17,0.74);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;transition:background 0.2s ease,transform 0.2s ease;}.cp-gallery__nav:hover,.cp-gallery__nav:focus{background:rgba(17,17,17,0.92);}.cp-gallery__nav--prev{left:14px;}.cp-gallery__nav--next{right:14px;}.cp-gallery__meta{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-top:14px;font-size:14px;color:#555;}.cp-gallery__counter{font-weight:700;color:#222;white-space:nowrap;}.cp-gallery__caption{flex:1;text-align:right;}.cp-gallery__thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:12px;margin-top:16px;}.cp-gallery__thumb{display:block;padding:0;background:transparent;border-radius:12px;overflow:hidden;border:2px solid transparent;transition:border-color 0.2s ease,transform 0.2s ease,box-shadow 0.2s ease;}.cp-gallery__thumb:hover,.cp-gallery__thumb:focus,.cp-gallery__thumb.is-active{border-color:#f5bc04;transform:translateY(-1px);box-shadow:0 10px 22px rgba(245,188,4,0.22);}.cp-gallery__thumb img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;}.cp-gallery__modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:32px;background:rgba(10,10,10,0.92);}.cp-gallery__modal[hidden]{display:none;}.cp-gallery__modal-inner{max-width:min(94vw,1500px);max-height:90vh;text-align:center;}.cp-gallery__modal-inner img{display:block;max-width:100%;max-height:calc(90vh - 48px);margin:0 auto;object-fit:contain;box-shadow:0 24px 54px rgba(0,0,0,0.35);}.cp-gallery__modal-caption{margin-top:12px;color:#f7f7f7;font-size:15px;line-height:1.5;}.cp-gallery__modal-nav,.cp-gallery__close{position:absolute;z-index:2147483002;background:rgba(255,255,255,0.12);color:#fff;}.cp-gallery__modal-inner{position:relative;z-index:2147483001;}.cp-gallery__modal-nav{top:50%;transform:translateY(-50%);width:58px;height:58px;border-radius:999px;font-size:30px;}.cp-gallery__modal-nav--prev{left:24px;}.cp-gallery__modal-nav--next{right:24px;}.cp-gallery__close{top:20px;right:20px;width:48px;height:48px;border-radius:999px;font-size:34px;line-height:1;}body.cp-gallery-is-open{overflow:hidden;}body.cp-gallery-is-open iframe,body.cp-gallery-is-open [role="alertdialog"],body.cp-gallery-is-open [aria-label="Cookie compliance banner"],body.cp-gallery-is-open .eu-cookie-compliance-banner,body.cp-gallery-is-open .adsense-wrap{visibility:hidden !important;pointer-events:none !important;}@media (max-width:767.98px){.cp-gallery{margin:22px 0 148px;}.cp-gallery__nav{width:44px;height:44px;font-size:22px;}.cp-gallery__meta{flex-direction:column;}.cp-gallery__caption{text-align:left;}.cp-gallery__thumbs{position:fixed;left:0;right:0;bottom:76px;z-index:1400;display:flex;flex-wrap:nowrap;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));margin-top:0;background:rgba(255,255,255,0.96);backdrop-filter:blur(12px);border-top:1px solid rgba(0,0,0,0.08);box-shadow:0 -12px 30px rgba(0,0,0,0.12);overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;}.cp-gallery__thumb{flex:0 0 72px;}.cp-gallery__modal{padding:18px;}.cp-gallery__modal-nav{width:44px;height:44px;font-size:24px;}.cp-gallery__modal-nav--prev{left:10px;}.cp-gallery__modal-nav--next{right:10px;}body.cp-gallery-has-sticky-thumbs{padding-bottom:170px;}body.cp-gallery-is-open.cp-gallery-has-sticky-thumbs{padding-bottom:0;}}
