/* Art gallery only. Original blocks and shared site styles stay unchanged. */
.ag-gallery{--ag-ink:#14234f;--ag-muted:#596b95;--ag-teal:#007d96;margin:58px 0 48px;scroll-margin-top:28px;color:var(--ag-ink)}
.ag-gallery *,.ag-lightbox *{box-sizing:border-box}
.ag-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:25px}
.pd-page .ag-heading h2{font-size:clamp(29px,3.2vw,42px);max-width:720px;margin:12px 0 0;line-height:1.14}
.ag-heading h2 span{color:#009fbb}
.ag-heading>p{max-width:250px;margin:0;color:var(--ag-muted);font-size:14px;line-height:1.65}
.ag-photo{break-inside:avoid;margin:0 0 18px;background:#edfaff;border:1px solid #e2f0f5;border-radius:22px;overflow:hidden}
.ag-photo:nth-child(3n+2){background:#fff7e4;border-color:#f3eddc}
.ag-photo:nth-child(3n){background:#eaf9f3;border-color:#e1f0e9}
.ag-photo a{position:relative;display:block;color:inherit;line-height:0;text-decoration:none;cursor:zoom-in}
.ag-photo img{display:block;width:100%;height:auto;transition:filter .2s}
.ag-photo a:hover img{filter:brightness(1.04)}
.ag-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fffffff0;color:#007d96;font-size:22px;line-height:1;box-shadow:0 2px 10px #14234f12}
.ag-photo figcaption{font-size:14px;font-weight:700;line-height:1.5;padding:15px 18px;color:var(--ag-ink)}
.ag-featured{margin-bottom:22px;border-radius:28px;background:#fff7e4;border-color:#f3eddc}
.ag-featured figcaption{display:flex;justify-content:space-between;gap:15px;padding:18px 24px;font-size:17px}
.ag-featured figcaption span{font-size:13px;color:var(--ag-muted);font-weight:400}
.ag-grid{columns:3;column-gap:18px}
.ag-videos{background:#eefaff;border-radius:28px;margin-top:26px;padding:30px}
.ag-video-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}
.pd-page .ag-video-heading h3{font-size:27px;line-height:1.2;letter-spacing:-.035em;margin:0}
.ag-video-heading p{max-width:310px;font-size:14px;line-height:1.6;color:var(--ag-muted);margin:0}
.ag-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ag-video-card{margin:0;min-width:0;padding:10px;background:white;border-radius:23px}
.ag-video-stage{position:relative;border-radius:16px;overflow:hidden;background:#e4edf3;aspect-ratio:540/1280;max-height:440px;margin-inline:auto}
.ag-video-stage video{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#e4edf3}
.ag-video-start{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:0;background:none;cursor:pointer;padding:0}
.ag-video-start img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.ag-video-start::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,#14234f70)}
.ag-video-start>span{position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;background:#fffffff0;color:#007d96;border-radius:50%;font-size:23px;box-shadow:0 5px 20px #14234f1f;padding-left:4px}
.ag-video-start small{position:absolute;z-index:1;bottom:16px;right:16px;color:#fff;font:700 13px/1 Arial,sans-serif;background:#14234f99;border-radius:20px;padding:7px 10px}
.ag-video-start:hover>span{background:#fff;outline:5px solid #ffffff50}
.ag-video-start[hidden]{display:none}
.ag-video-card figcaption{padding:16px 9px 11px}
.ag-video-card strong{display:block;font-size:16px;line-height:1.4;color:var(--ag-ink)}
.ag-video-card p{font-size:13px;line-height:1.6;color:var(--ag-muted);margin:8px 0 0}
.ag-video-error{padding:12px;color:#85475d;font-size:14px;line-height:1.5}
.ag-video-fallback{font-size:12px;line-height:1.5;margin:0 0 8px}
.ag-video-fallback a{color:#007d96!important;text-decoration:underline}
.ag-lightbox{max-width:calc(100vw - 32px);width:min(1120px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:16px;border:0;border-radius:22px;background:#fff;color:#14234f;box-sizing:border-box;overflow:auto;font-family:"Trebuchet MS",Arial,sans-serif}
.ag-lightbox::backdrop{background:#101b38de}
.ag-lightbox:not([open]){display:none}
.ag-lightbox__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:13px;color:#596b95}
.ag-lightbox button{display:grid;place-items:center;flex-shrink:0;min-width:44px;height:44px;border:0;border-radius:50%;background:#eaf8ff;color:#007d96;cursor:pointer;font-size:24px}
.ag-lightbox__image{display:block;width:100%;height:auto;max-height:min(70dvh,850px);object-fit:contain;background:#f6f9fb;border-radius:12px}
.ag-lightbox__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px}
.ag-lightbox__footer p{font-size:15px;line-height:1.5;margin:0;text-align:center}
.ag-lightbox button:focus-visible{outline:3px solid #008aa5;outline-offset:3px}
@media(max-width:1000px){.ag-heading{display:block}.ag-heading>p{max-width:540px;margin-top:16px}.ag-grid{columns:2}.ag-videos{padding:22px}.ag-video-grid{gap:12px}.ag-video-heading{display:block}.ag-video-heading p{max-width:540px;margin-top:12px}.ag-video-card strong{font-size:14px}.ag-video-card figcaption{padding-inline:4px}}
@media(max-width:700px){.ag-gallery{margin-top:40px;margin-bottom:35px}.pd-page .ag-heading h2{font-size:29px}.ag-heading{margin-bottom:22px}.ag-featured{border-radius:22px}.ag-featured figcaption{display:block;padding:16px 18px;font-size:16px}.ag-featured figcaption span{display:block;margin-top:6px}.ag-grid{columns:2;column-gap:12px}.ag-photo{border-radius:17px;margin-bottom:12px}.ag-photo figcaption{padding:11px 12px;font-size:12px}.ag-zoom{width:30px;height:30px;right:8px;bottom:8px;font-size:20px}.ag-videos{padding:20px 15px;border-radius:22px}.pd-page .ag-video-heading h3{font-size:25px}.ag-video-grid{grid-template-columns:1fr;gap:18px}.ag-video-card{max-width:340px;width:100%;margin-inline:auto}.ag-video-stage{max-height:480px}.ag-video-card strong{font-size:16px}.ag-video-card figcaption{padding-inline:8px}.ag-lightbox{padding:12px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px);max-width:calc(100vw - 20px);border-radius:17px}.ag-lightbox__image{height:auto;max-height:65dvh}.ag-lightbox__footer{gap:8px}.ag-lightbox__footer p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ag-photo img{transition:none}}
