:root{--agia-paper:#f8f4eb;--agia-cream:#fffdf8;--agia-ink:#4b3326;--agia-muted:#725b48;--agia-gold:#a68043;--agia-line:#dcc9a6;--agia-wine:#6f2b30}
html{scroll-behavior:smooth}
body.agia-gallery{display:block!important;margin:0!important;background:var(--agia-paper)!important;color:var(--agia-ink)!important;font-family:Georgia,serif!important;min-width:0!important}
body.agia-gallery *{box-sizing:border-box}
body.agia-gallery a{color:var(--agia-wine)}
body.agia-gallery a:focus-visible,body.agia-gallery button:focus-visible,body.agia-gallery input:focus-visible{outline:2px solid var(--agia-wine);outline-offset:2px}
.agia-site-frame{position:relative;min-height:100vh;width:100%;padding-inline:5.078125%;background:var(--agia-paper)}
.agia-wp-header,.agia-wp-footer,.agia-gallery-main{position:relative;z-index:1;min-width:0}
.agia-wp-header{background:var(--agia-paper)}
.agia-wp-header .elementor,.agia-wp-footer .elementor{width:100%}
.agia-wp-header .elementor-nav-menu--main .sub-menu{z-index:50}
.agia-gallery-main{display:block;background:var(--agia-cream);min-height:55vh}
.agia-gallery-hero{height:150px;display:flex;align-items:center;padding:20px clamp(28px,5vw,75px);background:linear-gradient(90deg,rgba(48,27,17,.68),rgba(48,27,17,.10)),url('/wp-content/uploads/2022/04/Pic_15_web.jpg') center 44%/cover no-repeat}
.agia-gallery-hero h1{margin:0;color:#fff!important;font-family:Byzantina,Georgia,serif!important;font-size:clamp(29px,3vw,43px)!important;font-weight:400!important;letter-spacing:.02em;text-shadow:0 2px 4px rgba(0,0,0,.34)}
.agia-gallery-hero h1::after{content:"";display:block;width:98px;height:2px;margin-top:11px;background:var(--agia-gold)}
.agia-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px clamp(22px,3.5vw,52px);border-bottom:1px solid var(--agia-line);background:var(--agia-cream)}
.agia-gallery-breadcrumb{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:14px;color:var(--agia-muted)}
.agia-gallery-breadcrumb a{text-decoration:none;color:var(--agia-muted)!important}
.agia-gallery-breadcrumb a:hover{text-decoration:underline}
.agia-gallery-search{display:flex;align-items:stretch;gap:0;margin:0;min-width:min(100%,330px)}
.agia-gallery-search input{width:100%;min-width:0;height:40px;border:1px solid var(--agia-line);border-radius:4px 0 0 4px;padding:0 12px;background:#fff;color:var(--agia-ink);font:14px Georgia,serif}
.agia-gallery-search button{height:40px;border:1px solid var(--agia-gold);border-radius:0 4px 4px 0;padding:0 14px;background:var(--agia-gold);color:#fff;cursor:pointer;font:13px Georgia,serif}
.agia-gallery-search button:hover{background:#8b6834}
.agia-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.agia-gallery #menubar,body.agia-gallery #menuSwitcher{display:none!important}
body.agia-gallery #content,body.agia-gallery .content{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:22px clamp(22px,3.5vw,52px) 68px!important;background:var(--agia-cream)!important;color:var(--agia-ink)!important;min-width:0!important}
body.agia-gallery .contentWithMenu{margin-left:0!important}
body.agia-gallery .titrePage{min-height:0!important;margin:0 0 19px!important;padding:0!important;background:none!important;border:0!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
body.agia-gallery .titrePage h2{order:-1;margin:0!important;font-family:Byzantina,Georgia,serif!important;font-size:clamp(25px,2.5vw,35px)!important;font-weight:400!important;line-height:1.25;color:var(--agia-ink)!important}
body.agia-gallery-index .titrePage .categoryActions,body.agia-gallery-index .titrePage #albumActionsSwitcher{display:none!important}
body.agia-gallery .titrePage .badge{font:13px Georgia,serif;background:#eee2ce;color:var(--agia-muted);border-radius:20px;padding:3px 8px;vertical-align:middle}
body.agia-gallery .categoryActions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0!important;padding:0!important}
body.agia-gallery .categoryActions li{float:none!important;margin:0!important}
body.agia-gallery .pwg-button{border:1px solid var(--agia-line)!important;border-radius:4px!important;background:#fffaf1!important;color:var(--agia-wine)!important;box-shadow:none!important}
body.agia-gallery .pwg-button:hover{background:#eee2ce!important}
body.agia-gallery .additional_info{margin:0 0 22px;color:var(--agia-muted);font-size:15px;line-height:1.6}
body.agia-gallery ul.albThumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important;list-style:none!important;margin:0!important;padding:0!important;text-align:left!important}
body.agia-gallery .albThumbs>li{display:block!important;float:none!important;position:relative!important;width:auto!important;height:auto!important;min-width:0!important;margin:0!important;overflow:hidden!important;border:1px solid var(--agia-line);border-radius:4px;background:#fff;box-shadow:0 2px 7px rgba(78,50,26,.055);transition:transform .18s ease,box-shadow .18s ease}
body.agia-gallery .albThumbs>li:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(78,50,26,.13)}
body.agia-gallery .albThumbs>li>a{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;text-decoration:none!important;color:var(--agia-ink)!important}
body.agia-gallery .albThumbs .albImg{display:block!important;position:static!important;left:auto!important;top:auto!important;width:100%!important;max-width:none!important;height:clamp(140px,14vw,195px)!important;object-fit:cover!important;object-position:center!important;margin:0!important}
body.agia-gallery .albThumbs .albLegend{display:block!important;position:static!important;left:auto!important;bottom:auto!important;width:100%!important;height:auto!important;min-height:77px!important;padding:11px 14px 13px!important;background:#fff!important;color:var(--agia-muted)!important;text-shadow:none!important;font:13px/1.4 Georgia,serif!important;text-indent:0!important;letter-spacing:normal!important;word-spacing:normal!important}
body.agia-gallery .albThumbs .albLegend::before,body.agia-gallery .albThumbs .albLegend::after{display:none!important}
body.agia-gallery .albThumbs .albLegend h4{display:block!important;overflow:visible!important;margin:0 0 4px!important;font:400 17px/1.3 Byzantina,Georgia,serif!important;color:var(--agia-wine)!important;text-shadow:none!important}
body.agia-gallery .albThumbs .albLegendRight{display:none!important}
body.agia-gallery .albThumbs .albSymbol{display:none!important}
body.agia-gallery #thumbnails{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important;overflow:visible!important;margin:0!important;padding:0!important;list-style:none!important;text-align:left!important}
body.agia-gallery #thumbnails>li.agia-photo-card{float:none!important;width:auto!important;height:auto!important;margin:0!important;overflow:hidden!important;border:1px solid var(--agia-line);border-radius:4px;background:#fff;box-shadow:0 2px 7px rgba(78,50,26,.055)}
body.agia-gallery #thumbnails>li.agia-photo-card a{display:block;width:100%;height:100%}
body.agia-gallery #thumbnails>li.agia-photo-card img{display:block;width:100%;height:clamp(140px,14vw,210px);object-fit:cover;transition:transform .18s ease}
body.agia-gallery #thumbnails>li.agia-photo-card a:hover img{transform:scale(1.025)}
body.agia-gallery .navbar{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:22px 0;color:var(--agia-muted)}
body.agia-gallery .navbar a,body.agia-gallery .navbar span{border:1px solid var(--agia-line);border-radius:3px;padding:5px 9px;text-decoration:none}
body.agia-gallery .loader{display:none!important}
body#thePicturePage .agia-gallery-hero{height:92px}
body#thePicturePage .agia-gallery-hero h1{font-size:29px!important}
body#thePicturePage #content{padding-top:25px!important}
body#thePicturePage #imageHeaderBar{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px!important;padding:0!important;background:none!important;color:var(--agia-muted)!important}
body#thePicturePage #imageHeaderBar .imageNumber{float:none!important;order:2;flex:none;color:var(--agia-muted)!important;font:13px/1.3 Georgia,serif!important}
body#thePicturePage .browsePath{float:none!important;display:flex;flex-wrap:wrap;align-items:center;gap:5px;font:14px/1.4 Georgia,serif!important;color:var(--agia-muted)!important}
body#thePicturePage .browsePath a{color:var(--agia-wine)!important;text-decoration:none}
body#thePicturePage .browsePath h2{order:initial!important;float:none!important;margin:0!important;font:400 17px/1.4 Georgia,serif!important;color:var(--agia-muted)!important;overflow-wrap:anywhere}
body#thePicturePage #imageToolBar{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 16px!important;padding:10px 13px!important;border:1px solid var(--agia-line);border-radius:4px;background:#f9f3e9!important;min-height:48px}
body#thePicturePage #imageToolBar .navigationButtons,body#thePicturePage #imageToolBar .actionButtons{float:none!important;display:flex;align-items:center;gap:5px;margin:0!important}
body#thePicturePage #imageToolBar .actionButtonsWrapper{position:relative!important;display:flex!important;align-items:center;order:2;margin-left:auto}
body#thePicturePage #imageToolBar .imageNumber{font:14px Georgia,serif;color:var(--agia-muted)}
body#thePicturePage #imageToolBar .pwg-button{width:auto!important;min-width:38px!important;height:35px!important;line-height:34px!important;padding:0 9px!important}
body#thePicturePage #theImageAndInfos{display:block!important;overflow:visible!important;margin:0!important;padding:0!important;min-width:0!important}
body#thePicturePage #theImage{display:block!important;float:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:20px!important;border:1px solid var(--agia-line)!important;border-radius:4px;background:#fff!important;text-align:center!important}
body#thePicturePage #theMainImage{display:block!important;width:auto!important;max-width:100%!important;max-height:72vh!important;height:auto!important;object-fit:contain!important;margin:auto!important;box-shadow:0 4px 17px rgba(30,23,16,.13)}
body#thePicturePage #imageInfos{display:block!important;float:none!important;width:100%!important;max-width:none!important;margin:18px 0 0!important;padding:16px 20px!important;border:1px solid var(--agia-line);border-radius:4px;background:#fbf7ef!important;color:var(--agia-ink)!important}
body#thePicturePage #imageInfos{min-height:0!important}
body#thePicturePage #imageInfos .navThumbs{display:none!important}
body#thePicturePage #infoSwitcher{display:none!important}
body#thePicturePage .imageInfoTable{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0!important}
body#thePicturePage .imageInfo{display:flex;gap:7px;margin:0!important;font:13px/1.5 Georgia,serif;color:var(--agia-muted)}
body#thePicturePage .imageInfo dt,body#thePicturePage .imageInfo dd,body#thePicturePage .imageInfo li{color:var(--agia-muted)!important;background:transparent!important}
body#thePicturePage .imageInfo dt{font-weight:600!important}
body#thePicturePage .imageInfo a{color:var(--agia-wine)!important}
body#thePicturePage .imageInfo dt,body#thePicturePage .imageInfo dd{float:none!important;width:auto!important;margin:0!important}
body#thePicturePage .imageComment{font:15px/1.6 Georgia,serif;color:var(--agia-muted)}
.agia-wp-footer{background:#f5eee4}
.agia-shell-fallback{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 5%;background:var(--agia-paper);font-family:Byzantina,Georgia,serif;font-size:18px}
.agia-shell-fallback nav{display:flex;gap:18px}.agia-shell-fallback a{text-decoration:none}.agia-shell-fallback-footer{font-size:15px}
@media(max-width:1100px){body.agia-gallery ul.albThumbs,body.agia-gallery #thumbnails{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1024px){.agia-site-frame{padding-inline:4.3%}.agia-wp-header .elementor-nav-menu--dropdown.elementor-nav-menu__container{display:none;position:absolute;z-index:100;right:12px;left:12px;top:100%;background:var(--agia-paper);border:1px solid var(--agia-line);box-shadow:0 8px 20px rgba(40,24,10,.12)}.agia-wp-header .elementor-nav-menu--dropdown.elementor-nav-menu__container.agia-open{display:block}.agia-wp-header .elementor-menu-toggle{cursor:pointer}.agia-wp-header .elementor-nav-menu--dropdown .sub-menu{display:none}.agia-wp-header .elementor-nav-menu--dropdown li.agia-submenu-open>.sub-menu{display:block}.agia-wp-header .agia-submenu-button{float:right;border:0;background:transparent;color:var(--agia-ink);padding:10px;cursor:pointer}}
@media(max-width:767px){.agia-site-frame{padding:0;background:var(--agia-paper)}.agia-gallery-hero{height:104px;padding:17px 18px}.agia-gallery-hero h1{font-size:28px!important}.agia-gallery-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:13px 16px}.agia-gallery-search{width:100%}body.agia-gallery #content,body.agia-gallery .content{padding:22px 16px 45px!important}body.agia-gallery ul.albThumbs,body.agia-gallery #thumbnails{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px!important}body.agia-gallery .albThumbs .albImg,body.agia-gallery #thumbnails>li.agia-photo-card img{height:clamp(120px,31vw,190px)!important}body.agia-gallery .albThumbs .albLegend{padding:9px 10px 11px!important;min-height:74px!important;font-size:12px!important}body.agia-gallery .albThumbs .albLegend h4{font-size:15px!important}body#thePicturePage #theImage{padding:8px!important}body#thePicturePage #imageToolBar{gap:7px;justify-content:space-between}body#thePicturePage #imageToolBar .navigationButtons{order:1}body#thePicturePage #imageToolBar .actionButtonsWrapper{order:2;margin-left:0}body#thePicturePage #imageToolBar .actionButtonsWrapper .actionButtons{display:none!important;position:absolute!important;z-index:30;top:42px!important;right:0!important;left:auto!important;min-width:0!important;width:min(270px,calc(100vw - 36px))!important;padding:8px!important;flex-direction:column!important;align-items:stretch!important;background:var(--agia-cream)!important;border:1px solid var(--agia-line);border-radius:4px;box-shadow:0 8px 20px rgba(40,24,10,.16)!important}body#thePicturePage #imageToolBar .actionButtonsWrapper .actionButtons[style*="display: block"]{display:flex!important}body#thePicturePage #imageToolBar .actionButtons .pwg-button{width:100%!important;text-align:left!important}body#thePicturePage #theMainImage{max-height:65vh!important}body#thePicturePage #imageHeaderBar{align-items:flex-start}body#thePicturePage .browsePath{min-width:0}}
@media(max-width:420px){body.agia-gallery ul.albThumbs,body.agia-gallery #thumbnails{grid-template-columns:repeat(2,minmax(0,1fr))}body.agia-gallery .albThumbs .albImg,body.agia-gallery #thumbnails>li.agia-photo-card img{height:125px!important}body.agia-gallery .albThumbs .albLegend h4{font-size:14px!important}.agia-gallery-search button{padding-inline:9px}}
/* Match the lighter, ornamented marble architecture on /programma/. */
.agia-gallery-rail{position:absolute;z-index:2;top:0;bottom:0;width:5.078125%;pointer-events:none}
.agia-gallery-rail--left{left:0}.agia-gallery-rail--right{right:0}
.agia-gallery-rail::before{content:"";position:absolute;z-index:0;top:0;width:37.5vw;height:67.3828125vw;background-image:url('/wp-content/uploads/2026/10/church-architectural-top-frame-v3.webp');background-repeat:no-repeat;background-size:200% 100%}
.agia-gallery-rail--left::before{left:0;background-position:left top}.agia-gallery-rail--right::before{right:0;background-position:right top}
.agia-gallery-rail::after{content:"";position:absolute;z-index:1;top:12.7777778vw;bottom:0;left:0;right:0;background:url('/wp-content/uploads/2026/10/history-v1-plain-marble-shaft-v1.png') center top/155% auto repeat-y}
.agia-gallery-rail--right::after{transform:scaleX(-1)}
.agia-gallery-rail-ornament{position:absolute;z-index:2;top:14.2361111vw;bottom:185px;left:0;right:0;background:url('/wp-content/uploads/2026/10/relic-page-v1-column-ornament.png') center top/220px auto repeat-y;opacity:.48;mix-blend-mode:multiply}
.agia-gallery-rail--right .agia-gallery-rail-ornament{transform:scaleX(-1)}
@media(max-width:1024px){.agia-site-frame{padding-inline:5.078125%}}
@media(max-width:767px){.agia-site-frame{padding:0;background:var(--agia-paper)}.agia-gallery-rail{display:none}}

/* Keep the shared WordPress menu above the gallery hero and columns. */
.agia-wp-header{z-index:20}
.agia-wp-header .elementor-nav-menu--main .sub-menu{z-index:100}
.agia-wp-header .elementor-nav-menu--main li.menu-item-has-children:hover>.sub-menu,
.agia-wp-header .elementor-nav-menu--main li.menu-item-has-children:focus-within>.sub-menu{
  display:block!important;visibility:visible!important;opacity:1!important;
}
@media(max-width:1024px){
  .agia-wp-header nav.elementor-nav-menu--dropdown.elementor-nav-menu__container{
    left:auto!important;right:0!important;width:min(340px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;overflow:visible!important;
  }
  .agia-wp-header .elementor-nav-menu--dropdown li.menu-item-has-children{position:relative!important}
  .agia-wp-header .elementor-nav-menu--dropdown li.menu-item-has-children>a{padding-right:52px!important}
  .agia-wp-header .elementor-nav-menu--dropdown .agia-submenu-button{
    position:absolute!important;top:2px;right:5px;z-index:2;
    display:grid;place-items:center;width:36px;height:36px;padding:0;
  }
  .agia-wp-header .elementor-nav-menu--dropdown li.agia-submenu-open>.sub-menu{position:static!important}
}

/* The album already has the dedicated search field in our gallery toolbar. */
body.agia-gallery #cmdSearchInSet,
body.agia-gallery .mcs-side-results.search-in-set-button{display:none!important}

/* Tap the photo for a viewport-filling view; swipe horizontally to navigate. */
body#thePicturePage #theMainImage{cursor:zoom-in;touch-action:pan-y;user-select:none;-webkit-user-drag:none}
body#thePicturePage.agia-photo-open{overflow:hidden!important}
body#thePicturePage #theImage.agia-photo-immersive{
  position:fixed!important;inset:0!important;z-index:10000!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100vw!important;height:100vh!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;
  margin:0!important;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)!important;
  border:0!important;border-radius:0!important;background:#17120f!important;
}
body#thePicturePage #theImage.agia-photo-immersive #theMainImage{
  width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;box-shadow:none!important;cursor:zoom-out;
  touch-action:none!important;transform-origin:center center;will-change:transform;
}
body#thePicturePage #theImage.agia-photo-immersive.agia-photo-zoomed #theMainImage{cursor:grab}
body#thePicturePage #theImage.agia-photo-immersive .imageComment{display:none!important}
