
/* V5.3 refinement: alternate story composition, accessible vertical lists, offline map, face-safe overlay. */
.note-block,.blush .note-block,.navy .note-block,.lavender .note-block {position:relative;display:block;min-height:298px;padding:0;overflow:hidden;border-radius:14px;isolation:isolate;background:var(--deep)}
.note-block .note-media,.lavender .note-block .note-media {position:absolute;inset:0;min-height:100%;height:100%;width:100%;order:initial}
.note-block .note-media img,.lavender .note-block .note-media img {width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:saturate(.86) brightness(.72)}
.note-block:after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(15,34,31,.88) 0%,rgba(15,34,31,.67) 55%,rgba(15,34,31,.06) 100%);pointer-events:none}
.note-block .note-copy,.lavender .note-block .note-copy{position:relative;z-index:1;color:#fff;text-align:left;max-width:79%;padding:43px 23px 32px;min-height:298px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.note-block .note-copy .panel-eyebrow,.note-block .note-copy h2,.note-block .note-copy p,.note-block .note-copy .story-flourish{color:#fff!important;text-shadow:0 1px 5px #182c306e}
.note-block .note-copy h2,.lavender .note-block .note-copy h2{font:italic 31px/1.09 Georgia,serif;max-width:245px;margin:11px 0 12px}
.note-block .note-copy p,.lavender .note-block .note-copy p{font:13px/1.5 Georgia,serif;max-width:225px;margin:0}
.note-block .story-flourish{margin-top:14px}
.blush .note-block:after{background:linear-gradient(270deg,#672b35e8 0%,#672b3599 60%,transparent 100%)}
.blush .note-block .note-copy{margin-left:auto;text-align:right;align-items:flex-end}
.terracotta .note-block:after{background:linear-gradient(90deg,#632b21e5 0%,#632b2199 62%,transparent 100%)}
.navy .note-block:after{background:linear-gradient(270deg,#102c4ae5 0%,#102c4a9e 70%,transparent 100%)}
.navy .note-block .note-copy{margin-left:auto;align-items:flex-end;text-align:right}
.lavender .note-block:after{background:linear-gradient(90deg,#45305fe5 0%,#45305f99 60%,transparent 100%)}
/* list patterns show one item per row and naturally handle any number of additions */
.agenda-track{position:relative;display:flex;flex-direction:column;gap:0;margin:15px 4px 0;padding:0 0 0 0}
.agenda-track:before{content:"";position:absolute;display:block;width:2px;height:calc(100% - 35px);top:24px;left:27px;right:auto;background:var(--edge);opacity:1}
.agenda-step{position:relative;display:flex;flex-direction:row;align-items:flex-start;text-align:left;gap:15px;min-height:84px;width:100%;padding:7px 0 15px}
.agenda-symbol,.agenda-step .agenda-symbol{flex:0 0 56px;width:56px;height:56px;border-radius:50%;font-size:25px;background:var(--paper);color:var(--deep);border:2px solid var(--edge);box-shadow:0 4px 12px #1a1a1a0a;margin:0}
.agenda-step-body{min-width:0;flex:1;padding-top:5px;border-bottom:1px solid var(--edge);padding-bottom:13px}
.agenda-time{display:block;font:700 11px/1.3 'Segoe UI',sans-serif;letter-spacing:.1em;color:var(--secondary);margin-bottom:5px}
.agenda-step-body strong{display:block;font:600 18px/1.2 Georgia,serif;color:var(--deep);margin:0 0 4px}
.agenda-step-body p{font:13px/1.4 Georgia,serif;color:var(--secondary);margin:4px 0 0}
.detail-list{display:flex;flex-direction:column;gap:9px;margin:13px 0 5px}
.detail-item{display:flex;align-items:flex-start;gap:14px;background:#ffffff70;border:1px solid var(--edge);border-radius:12px;padding:14px 12px;text-align:left;min-width:0}
.detail-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;background:var(--paper);border:1px solid var(--edge);border-radius:14px;font-size:24px;color:var(--deep)}
.detail-content{flex:1;min-width:0}
.detail-label{display:block;font:700 10px 'Segoe UI',sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--secondary);margin:3px 0 5px}
.detail-content strong{font:600 19px Georgia,serif;color:var(--deep);display:block}
.detail-content p{font:13px/1.4 Georgia,serif;color:var(--secondary);margin:6px 0 0}
.remove-custom{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--edge);background:var(--paper);color:#a14c48;font-size:19px}
.location-layout{display:grid;gap:14px;grid-template-columns:1fr;min-width:0}
.map-art{height:170px;border:1px solid var(--edge);border-radius:12px;overflow:hidden;position:relative;background:#e6efec}
.map-art svg{display:block;width:100%;height:100%}
.map-caption{position:absolute;bottom:9px;left:9px;background:#fffdf2e6;backdrop-filter:blur(2px);color:#415348;border-radius:12px;padding:5px 9px;font:9px 'Segoe UI',sans-serif}
.location-copy{padding:0 4px 5px}
.location-tag{font:700 10px 'Segoe UI',sans-serif;letter-spacing:.14em;color:var(--secondary)}
.location-copy h3{font:600 21px/1.2 Georgia,serif;color:var(--deep);margin:6px 0}
.location-copy p{font:13px/1.4 Georgia,serif;color:var(--secondary);margin:5px 0}
.location-copy .map-info{font-size:11px;margin-bottom:15px}
.directions-btn{display:inline-flex;align-items:center;border-radius:22px;border:1px solid var(--edge);background:var(--deep);color:#fff;padding:12px 17px;font:600 12px 'Segoe UI',sans-serif}
/* Fade to the photograph, don't hide couples' faces with solid white shapes */
.lavender .hero{height:480px;min-height:480px}
.lavender .hero-image img{object-position:50% 42%;filter:saturate(.99) brightness(.94)}
.lavender .hero-copy{position:absolute;left:0;right:0;bottom:0;width:100%;min-height:0;height:250px;padding:76px 10px 17px;margin:0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;background:linear-gradient(to top,rgba(49,29,73,.91) 0%,rgba(49,29,73,.66) 44%,rgba(49,29,73,.08) 91%,transparent);color:#fff}
.lavender .hero h1{font-size:37px!important;color:#fff!important;text-shadow:0 1px 6px #3b214f8c;margin:5px 0!important}
.lavender .hero .hero-copy-inner{color:#fff;justify-content:flex-end}
.lavender .hero .overline,.lavender .hero .hero-date,.lavender .hero .hero-place{color:#fff!important;text-shadow:0 1px 5px #35154acc;margin-top:0}
.lavender .hero .main-cta{margin-top:8px;border:1px solid #fff5;background:#694b85e8;color:#fff}
.terracotta .hero-image img{filter:saturate(1) brightness(.96)}
.terracotta .hero-copy{position:absolute;left:0;right:0;bottom:0;width:100%;min-height:0;height:242px;padding:63px 14px 18px;margin:0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;background:linear-gradient(to top,rgba(103,48,35,.9),rgba(103,48,35,.5) 53%,transparent);color:#fff}
.terracotta .hero h1,.terracotta .hero .hero-date,.terracotta .hero .overline,.terracotta .hero .hero-place{color:#fff!important;text-shadow:0 1px 7px #452218aa}
.terracotta .hero .main-cta{margin-top:5px;background:#aa6245ed;color:#fff;border:1px solid #fff6}
.preview-custom-editor{padding:12px;border:1px solid #d8cbbc;border-radius:12px;margin:14px 0;background:#ffffff9c;color:#273a32}
.preview-custom-editor summary{cursor:pointer;font-weight:700;list-style:disclosure-closed}
.preview-custom-editor p{font-size:12px;margin:9px 0}
.preview-custom-editor h3{font-size:13px;margin:12px 0 8px}
.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.editor-grid label{font-size:11px;display:flex;flex-direction:column;gap:4px}
.editor-grid .wide{grid-column:1/-1}
.editor-grid input{min-width:0;width:100%;border:1px solid #d7c9b6;padding:9px;border-radius:6px;background:#fff}
.preview-custom-editor form button,.editor-reset{display:inline-flex;margin-top:10px;background:#244a3b;color:#fff;border-radius:8px;padding:9px 13px;font-size:11px}
.editor-reset{background:#a44f44}.editor-status{font-size:11px;margin-left:8px}
@media(max-width:395px){.agenda-symbol,.agenda-step .agenda-symbol{width:48px;height:48px;flex-basis:48px;font-size:22px}.agenda-track:before{left:23px;top:20px}.agenda-step-body strong{font-size:17px}.note-block .note-copy p{font-size:12px}.lavender .hero h1{font-size:31px!important}}
/* Keep the invitation CTA fully inside the bottom gradient (tested at 320–430px). */
.terracotta .hero-copy{height:292px;padding:16px 13px 12px}
.lavender .hero-copy{height:280px;padding:23px 11px 12px}
