/* MEMORYA 3.54.01 public palette */
:root{--cemr540-navy:#102c3d;--cemr540-blue:#244d6c;--cemr540-gold:#c6a365;--cemr540-cream:#f7f8f6}
body.cemr373-standalone{background:var(--cemr540-cream);color:var(--cemr540-navy)}
body.cemr373-standalone .cemr373-header{background:#fff}
body.cemr373-standalone .cemr373-brand,body.cemr373-standalone .cemr373-nav a{color:var(--cemr540-navy)!important}
body.cemr373-standalone .cemr373-nav a.current{color:var(--cemr540-blue)!important}
.cemr371-home{color:var(--cemr540-navy)}
.cemr371-hero.cemr371-light{color:var(--cemr540-blue)}
.cemr371-hero{background-color:#d9dfdf}
.cemr371-search button{background:var(--cemr540-blue)!important}
.cemr371-search button:hover{background:var(--cemr540-navy)!important}
.cemr371-tiles a{color:var(--cemr540-blue)!important;border-color:#e1e5e6}
.cemr371-tiles a>span{color:var(--cemr540-gold)}
.cemr371-tiles small{color:#67777e}
.cemr540-hero-symbol{display:flex;justify-content:center;align-items:center;height:42px!important}
.cemr540-hero-symbol svg{width:36px;height:42px;display:block}
.cemr371-about{background:#e8f0f4}
.cemr371-about h2,.cemr371-about a{color:var(--cemr540-blue)!important}
.cemr540-section-inner{max-width:1160px;margin:auto;padding:64px 30px}
.cemr540-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.17em;color:var(--cemr540-gold);margin-bottom:14px}
.cemr540-section-inner h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 20px;color:inherit}
.cemr540-section-inner p{max-width:850px;font-size:17px;line-height:1.8;margin:0}
.cemr540-mission{background:#fff;color:var(--cemr540-navy)}
.cemr540-communities{background:#edf2f5;color:var(--cemr540-navy)}
.cemr540-contact{background:var(--cemr540-navy);color:#fff}
.cemr-v-register__table.cemr540-register th{background:#edf2f5;color:#18374b}
.cemr-v-register__table.cemr540-register td{border-color:#e3e9ec}
.cemr540-register .cemr540-thumbcell{width:82px;min-width:82px}
.cemr540-register .cemr540-thumbcell img{width:58px;height:58px;object-fit:cover;border-radius:7px;display:block}
.cemr540-no-photo{width:58px;height:58px;background:#edf1f3;border-radius:7px;display:grid;place-items:center;color:#88949a}
.cemr540-register td:nth-child(2){min-width:210px;font-weight:600}
.cemr540-register td:nth-child(3),.cemr540-register td:nth-child(4){white-space:nowrap}
.cemr-pop__condition{margin-top:7px;color:#293c48;font-size:12px}
@media(max-width:700px){.cemr540-section-inner{padding:42px 20px}.cemr540-register .cemr540-thumbcell{width:65px;min-width:65px}.cemr540-register .cemr540-thumbcell img{width:48px;height:48px}}

/* 3.54.03 — unified public-facing MEMORYA palette; admin remains untouched. */
body.cemr373-standalone{--memorya-primary:#244d6c;--memorya-soft:#edf2f5;--memorya-dark:#102c3d;background:#f7f8fa!important;color:#102c3d!important}
body.cemr373-standalone .cemr373-header{border-bottom:1px solid #e1e8ec;box-shadow:0 2px 12px rgba(16,44,61,.05)}
body.cemr373-standalone .cemr373-brand{color:#102c3d!important}
body.cemr373-standalone .cemr373-nav a:hover,body.cemr373-standalone .cemr373-nav a.current{color:#244d6c!important}
body.cemr373-standalone .cemr373-footer{background:#102c3d!important;color:#d9e3e9!important}
body.cemr373-standalone .cemr373-footer a{color:#e6c58a!important}
.cemr371-home .cemr371-tiles a{border:1px solid #dfe7ec!important;box-shadow:0 7px 24px rgba(16,44,61,.08)}
.cemr371-home .cemr371-tiles a:hover{border-color:#c6a365!important;box-shadow:0 10px 28px rgba(16,44,61,.14)}
.cemr371-home .cemr371-tiles a>span,.cemr371-home .cemr540-hero-symbol{color:#b28d51!important}
.cemr371-home .cemr371-tiles strong{color:#183b52!important}
.cemr371-home .cemr371-search button{background:#244d6c!important}
.cemr371-home .cemr371-search button:hover{background:#102c3d!important}
.cemr540-section-inner{box-sizing:border-box}
.cemr540-communities{border-top:1px solid #dce6eb;border-bottom:1px solid #dce6eb}
.cemr540-contact .cemr540-kicker{color:#dfbe82}
/* Restrict global theme overrides to public plugin pages and avoid changing map layer colours. */
body.cemr373-standalone :is(.cemr-v-header,.cemr-v-sectionhead,.cemr375-directory h1,.cemr-search-heading,.cemr-pantheon h1) h1,
body.cemr373-standalone :is(.cemr-v-header,.cemr-v-sectionhead,.cemr375-directory h1,.cemr-search-heading,.cemr-pantheon h1) h2{color:#102c3d}
body.cemr373-standalone :is(.cemr-v-register__table,.cemr-search-result,.cemr-v-card,.cemr375-directory a){border-color:#dce5ea}
body.cemr373-standalone :is(.cemr-v-register__table thead,.cemr-v-register__table th){background:#edf2f5;color:#17394e}
body.cemr373-standalone :is(.cemr-v-breadcrumb a,.cemr375-directory a:hover,.cemr-search-result__body strong){color:#244d6c}
body.cemr373-standalone :is(.cemr-v-btn,.cemr-search-filters button,.cemr-search-pagination a[aria-current]){background-color:#244d6c}
body.cemr373-standalone :is(a,button,input,select):focus-visible{outline:2px solid #c6a365;outline-offset:3px}
@media(max-width:700px){.cemr540-section-inner{padding:40px 20px}.cemr371-home .cemr371-tiles a{min-height:130px}}

/* 3.54.04: match approved memorya-homepage-preview-v2.html; no search or data changes. */
body.cemr373-standalone{background:#fff!important;color:#152f42!important}
body.cemr373-standalone .cemr373-header{height:64px;border-bottom:1px solid #e6e7e5;box-shadow:none}
body.cemr373-standalone .cemr373-header-inner{max-width:1380px;padding:0 21px}
body.cemr373-standalone .cemr373-brand{font-size:24px;color:#102b3d!important}
body.cemr373-standalone .cemr373-brand-icon{color:#caa668;font-size:29px}
body.cemr373-standalone .cemr373-nav a{font-size:14px;color:#102b3d!important}
body.cemr373-standalone .cemr373-nav a.current{border-bottom:2px solid #caa668;text-decoration:none!important}
.cemr371-home .cemr371-hero{min-height:505px;padding:64px 24px;background-image:linear-gradient(90deg,rgba(12,35,51,.81),rgba(12,35,51,.58),rgba(12,35,51,.44)),var(--cemr371-image,linear-gradient(135deg,#30495a,#8b969c))!important;color:#fff!important}
.cemr371-home .cemr371-hero-content{max-width:1100px}
.cemr371-home .cemr371-mark{font-size:32px;color:#caa668}
.cemr371-home .cemr371-hero h1{font-size:clamp(43px,5vw,64px)!important;letter-spacing:.035em!important;margin:4px 0 12px!important;color:#fff!important}
.cemr371-home .cemr371-hero h2{font-size:clamp(20px,2.3vw,29px)!important;font-weight:650!important;color:#fff!important}
.cemr371-home .cemr371-hero p{font-size:18px!important;margin:10px 0 28px!important;color:#edf1f1!important}
.cemr371-home .cemr371-search{max-width:1100px;min-height:0;border-radius:18px;padding:7px;box-shadow:0 12px 32px #071c2b55;border:0}
.cemr371-home .cemr371-search input,.cemr371-home .cemr371-search select{border-radius:0!important;padding:12px 18px!important;color:#152f42!important;min-height:49px}
.cemr371-home .cemr371-search input[type=search]{flex:2 1 0;width:auto;padding-left:18px!important}
.cemr371-home .cemr371-search select{flex:1.1 1 0;width:auto;border-left:0!important;border-right:1px solid #e4e6e6!important}
.cemr371-home .cemr371-search input[type=number]{flex:.42 1 0;width:auto;border-left:0!important}
.cemr371-home .cemr371-search button{min-width:125px;border-radius:12px!important;background:#caa668!important;color:#0c2333!important;padding:14px 22px!important;font-size:15px!important}
.cemr371-home .cemr371-search button:hover{background:#dfbd80!important}
.cemr371-home .cemr371-advanced{color:#fff!important;font-size:16px;margin-top:20px}
.cemr371-home .cemr371-tiles{max-width:none;margin:0!important;padding:28px max(21px,calc((100vw - 1380px)/2)) 36px!important;gap:18px;background:#f6f7f6}
.cemr371-home .cemr371-tiles a{min-height:152px;border:1px solid #e5e8e6!important;border-radius:18px;box-shadow:0 9px 22px #102b3d0d!important;color:#152f42!important;padding:22px;gap:4px}
.cemr371-home .cemr371-tiles a>span{height:43px;display:flex;align-items:center;justify-content:center;color:#caa668!important}
.cemr371-home .cemr371-tiles strong{font-size:21px;color:#152f42!important}
.cemr371-home .cemr371-tiles small{font-size:13px;color:#66717a}
.cemr540-hero-symbol{height:43px!important}
.cemr544-shield{position:relative;width:31px;height:39px;display:block;background:#caa668;clip-path:polygon(50% 0,88% 14%,88% 56%,80% 77%,50% 100%,20% 77%,12% 56%,12% 14%)}
.cemr544-shield:before{content:"";position:absolute;inset:2px;background:#fff;clip-path:inherit}
.cemr544-trident{position:absolute;inset:7px 9px 8px;background:#caa668;-webkit-mask:url('memorya-tryzub-mask.png') center / contain no-repeat;mask:url('memorya-tryzub-mask.png') center / contain no-repeat}
.cemr371-home .cemr371-about{background:#eaf0f2;padding:32px max(21px,calc((100vw - 1380px)/2));gap:30px}
.cemr371-home .cemr371-about h2{font-size:28px!important;font-weight:500!important;color:#102b3d!important;margin:0 0 3px!important}
.cemr371-home .cemr371-about p{font-size:15px;color:#152f42}
.cemr371-home .cemr371-about a{border:1px solid #102b3d;border-radius:30px;color:#102b3d!important;padding:10px 24px}
.cemr540-section-inner{max-width:1000px;padding:72px 21px}
.cemr540-kicker{font-size:12px;letter-spacing:.17em;color:#b58b4b;margin-bottom:13px}
.cemr540-section-inner h2{font-size:clamp(29px,3vw,39px);font-weight:550;line-height:1.25;margin:0 0 20px}
.cemr540-section-inner p{font-size:16px;line-height:1.8;max-width:850px;margin:0 0 16px}
.cemr540-mission{background:#fff;color:#152f42}
.cemr540-communities{background:#102b3d;color:#fff;border:0}
.cemr540-communities p{color:#dce4e7}
.cemr544-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
.cemr544-features>div{border:1px solid #ffffff33;background:#ffffff0a;border-radius:14px;padding:24px}
.cemr544-features h3{margin:0 0 10px;color:#e3c38c;font-size:17px}
.cemr544-features p{font-size:14px;margin:0}
.cemr540-contact{background:#f6f7f6;color:#152f42}
.cemr544-contactbox{border:1px dashed #bdc6c8;border-radius:16px;padding:24px;color:#66717a;background:#fff;margin-top:20px}
@media(max-width:800px){body.cemr373-standalone .cemr373-header{height:auto}body.cemr373-standalone .cemr373-header-inner{padding:15px 21px}.cemr371-home .cemr371-hero{padding:65px 21px}.cemr371-home .cemr371-search{flex-wrap:wrap;border-radius:18px}.cemr371-home .cemr371-search input[type=search],.cemr371-home .cemr371-search select,.cemr371-home .cemr371-search input[type=number]{flex:1 0 100%;width:100%;border-right:0!important;border-left:0!important;border-bottom:1px solid #eee!important}.cemr371-home .cemr371-search button{flex:1 0 100%}.cemr371-home .cemr371-tiles{grid-template-columns:1fr}.cemr371-home .cemr371-about{padding:32px 21px}.cemr544-features{grid-template-columns:1fr}.cemr540-section-inner{padding:60px 21px}.cemr371-home .cemr371-hero[style*="--cemr371-mobile"]{background-image:linear-gradient(90deg,rgba(12,35,51,.81),rgba(12,35,51,.58),rgba(12,35,51,.44)),var(--cemr371-mobile)!important}}

.cemr544-footer{background:#0c2333;color:#bfcbd1;padding:25px 21px;font-size:13px}.cemr544-footer>div{max-width:1380px;margin:auto;display:flex;justify-content:space-between;gap:20px}@media(max-width:800px){.cemr544-footer>div{display:block}}

/* 3.54.07: public OMS login navigation. */
body.cemr373-standalone .cemr373-nav a.cemr-oms-nav-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #c5a56b;border-radius:7px;color:#102b3d!important;font-weight:650;text-decoration:none!important;white-space:nowrap;background:#fff}body.cemr373-standalone .cemr373-nav a.cemr-oms-nav-link:hover{background:#f8f3e9!important;border-color:#a9894d}
