:root{--phd-primary:#005244;--phd-ink:#1d2327;--phd-muted:#646970;--phd-line:#e2e4e7;--phd-surface:#fff;--phd-soft:#f4f6f7;--phd-radius:12px}
.phd-placeholder{padding:14px 16px;border:1px dashed #b4b9be;border-radius:8px;background:#fafafa;color:#646970;font-size:13px}
.phd-empty{color:var(--phd-muted)}
.phd-search-wrap .screen-reader-text, [class*="elementor-widget-phd_"] .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Field */
.phd-field{display:flex;align-items:flex-start;gap:8px}
.phd-field__icon{color:var(--phd-primary);line-height:1;display:inline-flex}
.phd-field__icon svg{width:1em;height:1em;fill:currentColor}
.phd-field--stacked .phd-field__main{display:flex;flex-direction:column}
.phd-field__label{font-weight:600;color:var(--phd-muted)}
.phd-field__value{margin:0;display:inline}
.phd-field--stacked .phd-field__value{display:block}
.phd-field__value a{color:inherit;text-decoration:underline}

/* Buttons */
.phd-btns{display:flex;flex-wrap:wrap;gap:10px}
.phd-btns--column{flex-direction:column;align-items:flex-start}
.phd-btns--full{flex-direction:column}
.phd-btns--full .phd-btn{justify-content:center;width:100%}
.phd-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;background:var(--phd-primary);color:#fff;text-decoration:none;font-weight:600;line-height:1.2;border:0;cursor:pointer;transition:filter .15s}
.phd-btn:hover,.phd-btn:focus{filter:brightness(.92);color:#fff}
.phd-btn svg,.phd-btn__icon{width:1em;height:1em;fill:currentColor}
.phd-btn--whatsapp{background:#25d366}

/* Gallery */
.phd-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.phd-gallery a{display:block;overflow:hidden}
.phd-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:8px}

/* Hours / prayer / FAQ */
.phd-hours__title,.phd-faq__title,.phd-prayers__title,.phd-details__title,.phd-terms__title{margin:0 0 .6em}
.phd-hours table{width:100%;border-collapse:collapse}
.phd-hours td{padding:6px 10px;border-bottom:1px solid var(--phd-line)}
.phd-hours td:last-child{text-align:right}
.phd-hours tr.is-today{background:var(--phd-soft);font-weight:600}
.phd-hours__status{font-weight:700;margin:0 0 .5em}
.phd-hours__status.is-open{color:#1a7f37}.phd-hours__status.is-closed{color:#b32d2e}
.phd-prayers__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.phd-prayers__item{display:flex;flex-direction:column;align-items:center;padding:12px 8px;background:var(--phd-soft);border-radius:var(--phd-radius)}
.phd-prayers__name{font-size:.85em;color:var(--phd-muted)}
.phd-prayers__time{font-size:1.25em;font-weight:700}
.phd-prayers__meta{font-size:.8em;color:var(--phd-muted);margin:.6em 0 0}
.phd-faq details{border:1px solid var(--phd-line);border-radius:10px;margin:0 0 8px;background:var(--phd-surface)}
.phd-faq summary{cursor:pointer;padding:12px 16px;font-weight:600;list-style-position:inside}
.phd-faq__a{padding:0 16px 14px;color:var(--phd-muted)}

/* Details list */
.phd-details{display:grid;gap:0}
.phd-details--table .phd-details__row{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--phd-line)}
.phd-details--list .phd-details__row{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--phd-line)}
.phd-details--grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.phd-details--grid .phd-details__row{display:flex;flex-direction:column;padding:12px;background:var(--phd-soft);border-radius:var(--phd-radius);border:0}
.phd-details__label{color:var(--phd-muted);font-weight:600}
.phd-details__icon{color:var(--phd-primary);margin-right:6px}
.phd-details__icon svg{width:1em;height:1em;fill:currentColor}
.phd-details__value a{color:inherit;text-decoration:underline}

/* Terms */
.phd-terms__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.phd-terms--chips .phd-terms__item{padding:5px 12px;background:var(--phd-soft);border-radius:999px;font-size:.9em}
.phd-terms--checks .phd-terms__list{flex-direction:column;gap:6px}
.phd-terms--checks .phd-terms__item:before{content:"\2713";color:var(--phd-primary);font-weight:700;margin-right:8px}
.phd-terms--inline .phd-terms__item:not(:last-child):after{content:","}
.phd-terms__item a{color:inherit;text-decoration:none}

/* Map */
.phd-map iframe{display:block;width:100%;height:320px;border:0}
.phd-map__addr{margin:.6em 0}

/* Cards + grid */
.phd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.phd-card{display:flex;flex-direction:column;background:var(--phd-surface);border:1px solid var(--phd-line);border-radius:var(--phd-radius);overflow:hidden;transition:box-shadow .15s,transform .15s}
.phd-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08)}
.phd-card__media{position:relative;display:block;aspect-ratio:16/10;background:var(--phd-soft);overflow:hidden}
.phd-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.phd-card__badge{position:absolute;left:10px;top:10px;padding:3px 10px;border-radius:999px;background:var(--phd-primary);color:#fff;font-size:12px;font-weight:600}
.phd-card__body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;flex:1}
.phd-card__title{margin:0;font-size:1.05em;line-height:1.3}
.phd-card__title a{color:inherit;text-decoration:none}
.phd-card__text{margin:0;color:var(--phd-muted);font-size:.92em}
.phd-card__meta{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--phd-muted);font-size:.85em}
.phd-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}
.phd-card__price{font-weight:700;color:var(--phd-primary)}
.phd-card__btn,.phd-more{display:inline-block;padding:8px 16px;border-radius:999px;background:var(--phd-primary);color:#fff;text-decoration:none;font-weight:600;font-size:.9em;border:0;cursor:pointer}
.phd-pager ul{list-style:none;display:flex;gap:6px;justify-content:center;padding:0;margin:24px 0 0}
.phd-pager .page-numbers{display:inline-block;padding:6px 12px;border:1px solid var(--phd-line);border-radius:8px;text-decoration:none;color:inherit}
.phd-pager .current{background:var(--phd-primary);color:#fff;border-color:var(--phd-primary)}

/* Search */
.phd-search{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px;background:var(--phd-surface);border:1px solid var(--phd-line);border-radius:var(--phd-radius)}
.phd-search--column{flex-direction:column;align-items:stretch}
.phd-search__f{display:flex;flex-direction:column;gap:4px;font-size:.85em;color:var(--phd-muted);min-width:140px}
.phd-search__f--grow{flex:1 1 220px}
.phd-search__f--check{flex-direction:row;align-items:center;gap:8px}
.phd-search input,.phd-search select{padding:9px 10px;border:1px solid var(--phd-line);border-radius:8px;font:inherit;color:var(--phd-ink);background:#fff;max-width:100%}
.phd-search input[type=checkbox]{padding:0}
.phd-search__submit{padding:10px 22px;border:0;border-radius:8px;background:var(--phd-primary);color:#fff;font-weight:700;cursor:pointer}
.phd-search__near{flex-direction:row;align-items:flex-end;gap:8px;min-width:0}
.phd-near{padding:9px 12px;border:1px solid var(--phd-primary);border-radius:8px;background:#fff;color:var(--phd-primary);font-weight:600;cursor:pointer}
.phd-near.is-on{background:var(--phd-primary);color:#fff}
.phd-search__filters{flex:1 1 100%}
.phd-search__filters fieldset{display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--phd-line);border-radius:10px;padding:10px 14px;margin:0}
.phd-search__filters fieldset[hidden],.phd-near__radius[hidden],.phd-more[hidden],.phd-results__count[hidden]{display:none}
.phd-search__filters legend{font-weight:700;padding:0 6px}
.phd-results{margin-top:20px}
.phd-results__count{color:var(--phd-muted);margin:0 0 10px}
.phd-notices .phd-notice{padding:8px 12px;border-radius:8px;background:#fff8e5;color:#8a6d00;margin:0 0 8px;font-size:.9em}
.phd-notices .phd-notice.is-error{background:#fcf0f1;color:#b32d2e}
.phd-more{display:block;margin:20px auto 0}

/* Tiles + places */
.phd-tiles{display:grid;grid-template-columns:repeat(var(--phd-category-columns,4),minmax(0,1fr));gap:var(--phd-category-gap,16px)}
.phd-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 12px;text-align:center;text-decoration:none;color:inherit;background:var(--phd-surface);border:1px solid var(--phd-line);border-radius:var(--phd-radius);transition:background .15s,box-shadow .15s}
.phd-tile:hover{background:var(--phd-soft)}
.phd-tile__icon{font-size:36px;line-height:1}
.phd-tile__img{width:56px;height:56px;object-fit:cover;border-radius:50%}
.phd-tile__name{font-weight:700}
.phd-tile__count{font-size:.85em;color:var(--phd-muted)}
.phd-places{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.phd-place{padding:8px 14px;background:var(--phd-soft);border-radius:8px;display:flex;justify-content:space-between;gap:8px}
.phd-place a{color:inherit;text-decoration:none}
.phd-place__count{color:var(--phd-muted);font-size:.85em}

@media (max-width:767px){
 .phd-grid{grid-template-columns:1fr}
 .phd-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .phd-details--table .phd-details__row{grid-template-columns:1fr}
 .phd-search{flex-direction:column;align-items:stretch}
 .phd-tiles,.phd-places{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 0.7.4: layout bounds apply only to this plugin's Elementor widgets. */
[class*="elementor-widget-phd_"]{min-width:0;max-width:100%}
[class*="elementor-widget-phd_"]>.elementor-widget-container{min-width:0;max-width:100%}
[class*="elementor-widget-phd_"] :where(.phd-field,.phd-field__main,.phd-card,.phd-tile,.phd-details__value,.phd-faq__a,.phd-place){min-width:0;overflow-wrap:anywhere}
[class*="elementor-widget-phd_"] :where(input,select,textarea,button){max-width:100%;box-sizing:border-box}
[class*="elementor-widget-phd_"] :where(img,video,iframe){max-width:100%}
[class*="elementor-widget-phd_"] .phd-card__foot{flex-wrap:wrap}
[class*="elementor-widget-phd_"] :where(.phd-card__btn,.phd-btn){white-space:normal;overflow-wrap:anywhere;text-align:center}
[class*="elementor-widget-phd_"] .phd-hours table{table-layout:fixed}
.phd-search-wrap,.phd-search-wrap .phd-search{box-sizing:border-box;min-width:0;width:100%;max-width:100%}
.phd-search-wrap .phd-search{align-content:start;margin:0}
.phd-search-wrap .phd-search__f{min-width:0;max-width:100%;margin:0}
.phd-search-wrap .phd-search__category{flex:0 1 var(--phd-category-width,210px)}
.phd-search-wrap .phd-search__location{flex:0 1 var(--phd-location-width,180px)}
.phd-search-wrap .phd-search__f--grow{flex:1 1 260px;justify-content:flex-end}
.phd-search-wrap .phd-search :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){width:100%;min-width:0;min-height:var(--phd-search-height,48px);line-height:1.4}
.phd-search-wrap .phd-search__submit,.phd-search-wrap .phd-near{min-height:var(--phd-search-height,48px);line-height:1.4;white-space:normal}
.phd-search-wrap .phd-search__near{flex:0 1 auto;flex-wrap:wrap}
.phd-search-wrap .phd-search--column>.phd-search__f{flex:0 1 auto;width:100%}
.phd-search-wrap .phd-search--column>.phd-search__submit{width:100%}
.phd-search-wrap .phd-search__filters:has(>fieldset:not([hidden])){display:block}
.phd-search-wrap .phd-search__filters:not(:has(>fieldset:not([hidden]))){display:none}
.phd-search-wrap .phd-search__filters fieldset{min-width:0}
.phd-search-wrap .phd-search__filters .phd-search__f{flex:1 1 140px}
.phd-search-wrap :focus-visible,.phd-category-slider :focus-visible{outline:3px solid #80c8b6;outline-offset:3px}

/* Native category carousel: keyboard focus, touch swipe and ordinary links work without JS. */
.phd-category-slider{min-width:0;max-width:100%;position:relative}
.phd-slider-controls{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}
.phd-slider-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--phd-line,#dce5e0);border-radius:50%;background:#fff;color:var(--phd-primary,#005244);font:24px/1 system-ui;cursor:pointer}
.phd-slider-controls button:disabled{opacity:.4;cursor:default}
.phd-tiles.phd-tiles--slider{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--phd-category-columns,4) - 1)*var(--phd-category-gap,16px))/var(--phd-category-columns,4));gap:var(--phd-category-gap,16px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:2px;padding:2px 2px 12px;scrollbar-width:thin;max-width:100%}
.phd-tiles--slider>.phd-tile{scroll-snap-align:start;min-width:0}
@media(max-width:1024px){
 .phd-search-wrap .phd-search--row>.phd-search__category,.phd-search-wrap .phd-search--row>.phd-search__location{flex:1 1 180px}
 .phd-search-wrap .phd-search--row>.phd-search__f--grow{flex:2 1 260px}
 .phd-tiles:not(.phd-tiles--slider){grid-template-columns:repeat(var(--phd-category-columns,3),minmax(0,1fr))}
 .phd-tiles.phd-tiles--slider{grid-auto-columns:calc((100% - (var(--phd-category-columns,3) - 1)*var(--phd-category-gap,16px))/var(--phd-category-columns,3))}
}
@media(max-width:767px){
 .phd-search-wrap .phd-search{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;height:auto;min-height:0;padding:16px}
 .phd-search-wrap .phd-search>.phd-search__f,.phd-search-wrap .phd-search--row>.phd-search__f--grow{flex:0 1 auto;width:100%;min-height:0;max-height:none}
 .phd-search-wrap .phd-search .phd-search__near{flex-direction:row;align-items:center}
 .phd-search-wrap .phd-search :where(input,select,textarea){font-size:16px}
 .phd-search-wrap .phd-search__submit{width:100%;min-height:48px}
 .phd-search-wrap .phd-search__filters{flex:0 1 auto;width:100%}
 .phd-search-wrap .phd-search__filters fieldset{flex-direction:column;gap:10px;padding:12px}
 .phd-search-wrap .phd-search__filters .phd-search__f{flex:0 1 auto}
 .phd-tiles:not(.phd-tiles--slider){grid-template-columns:repeat(var(--phd-category-columns,2),minmax(0,1fr))}
 .phd-tiles.phd-tiles--slider{grid-auto-columns:calc((100% - (var(--phd-category-columns,2) - 1)*var(--phd-category-gap,16px))/var(--phd-category-columns,2))}
 /* Stronger than discovery defaults and Elementor's generated Columns rules. */
 [class*="elementor-widget-phd_"] .phd-grid.phd-grid[style*="--phd-mobile-columns"]:not(.is-list){grid-template-columns:repeat(var(--phd-mobile-columns,1),minmax(0,1fr));gap:12px}
 [class*="elementor-widget-phd_"] .phd-grid[style*="--phd-mobile-columns:2"] .phd-card__body{padding:10px;gap:6px}
 [class*="elementor-widget-phd_"] .phd-grid[style*="--phd-mobile-columns:2"] .phd-card__title{font-size:14px;line-height:1.4}
 [class*="elementor-widget-phd_"] .phd-grid[style*="--phd-mobile-columns:2"] .phd-card__badge{font-size:10px;max-width:calc(100% - 12px);left:6px;top:6px;padding:3px 6px;white-space:normal}
 [class*="elementor-widget-phd_"] .phd-grid[style*="--phd-mobile-columns:2"] .phd-card__btn{font-size:12px;padding:8px 10px;max-width:100%}
 [class*="elementor-widget-phd_"] :where(.phd-prayers__grid,.phd-details--grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 [class*="elementor-widget-phd_"] .phd-places{gap:8px}
 [class*="elementor-widget-phd_"] .phd-place{padding:10px;flex-wrap:wrap}
}
@media(max-width:359px){[class*="elementor-widget-phd_"] .phd-details--grid{grid-template-columns:minmax(0,1fr)}.phd-search-wrap .phd-search{padding:12px}}
@media(prefers-reduced-motion:reduce){.phd-category-slider *{scroll-behavior:auto!important;transition:none!important}}
