/* Shared styles for site announcements, residents, and admin. */
.ann-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:13px}
.ann-card{background:var(--theme-surface,#fff9f4);color:var(--theme-ink,#421f32);border:1px solid var(--theme-border,#d8a6b8);border-radius:15px;text-decoration:none;padding:20px;display:flex;flex-direction:column;min-width:0;gap:8px;overflow-wrap:anywhere;box-shadow:3px 4px 0 var(--theme-shadow,#dfc2c8)}
.ann-card:hover,.ann-card:focus-visible{border-color:#e8669d;transform:translateY(-1px)}
.ann-card .ann-kicker{font-size:.7rem;letter-spacing:.09em;font-weight:900;text-transform:uppercase;color:#a8346e}
.ann-card h3{margin:0;font-size:1.3rem;line-height:1.2;color:inherit}.ann-card p{font-size:.88rem;line-height:1.5;margin:0;flex:1;opacity:.84}.ann-card small{margin-top:10px;font-size:.73rem;opacity:.75}
.ann-feature{max-width:1200px;margin:28px auto;padding:0 24px}.ann-feature-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.ann-feature-head h2{margin:3px 0;font-size:clamp(1.5rem,3vw,2.2rem)}.ann-feature-head a{font-weight:800}.ann-feature .ann-card{box-shadow:4px 4px 0 var(--theme-shadow,#d8a6b8)}
.ann-account .ann-card{background:#20141d;border-color:#5d384d;color:#fff;box-shadow:none}.ann-account .ann-card .ann-kicker{color:#ffa4d1}
.ann-page{max-width:1100px;margin:0 auto;padding:52px 24px 100px}.ann-page-head{margin-bottom:30px}.ann-page-head h1{font-size:clamp(1.85rem,4.4vw,2.7rem);line-height:1.14;overflow-wrap:anywhere;margin:8px 0}.ann-page-head>p{opacity:.75}
.ann-public .ann-card{background:#22151e;color:#fff;border-color:#5d394c;box-shadow:none}.ann-public .ann-card .ann-kicker{color:#ffa4d1}.ann-pages{display:flex;justify-content:center;gap:24px;align-items:center;margin-top:30px}
.ann-story{background:var(--theme-surface,#fff9f4);color:var(--theme-ink,#421f32);border:1px solid var(--theme-border,#d8a6b8);border-radius:20px;padding:clamp(20px,5vw,40px);margin:20px 0 25px}.ann-story-meta{font-size:.8rem;letter-spacing:.06em;color:var(--theme-accent,#a8346e);font-weight:800}.ann-story-body{white-space:normal;overflow-wrap:anywhere;font-size:1.05rem;line-height:1.85;margin:20px 0 24px}.ann-story .button{display:inline-flex}
.ann-empty{opacity:.7}
.ann-admin-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:15px}.ann-admin-head h2{margin:0}.ann-admin-head p{margin:4px 0;color:#6f5260}
.ann-admin-editor{margin-bottom:18px}.ann-editor-form{display:grid;gap:14px}.ann-editor-form>label,.ann-editor-columns>label{display:grid;gap:6px;font-weight:800;color:#60354b;font-size:.85rem}.ann-editor-form input:not([type=checkbox]),.ann-editor-form textarea,.ann-editor-form select{box-sizing:border-box;width:100%;min-width:0;padding:11px;background:white;color:#2b1723;border:1px solid #ceb1c1;border-radius:9px;font:inherit}.ann-editor-form textarea{resize:vertical;min-height:70px}.ann-editor-form textarea[name=ann_body]{min-height:220px;line-height:1.55}.ann-editor-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ann-editor-form small{font-size:.7rem;font-weight:500;color:#856879}.ann-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.ann-check input{width:auto}.ann-editor-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.ann-admin-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.ann-admin-filters a{text-decoration:none;padding:8px 11px;border:1px solid #dbbece;border-radius:9px;font-weight:800;font-size:.79rem;color:#5b3248}.ann-admin-filters a.selected{background:#6c294b;color:white}.ann-admin-list{display:grid;gap:10px}.ann-admin-row{padding:14px;border:1px solid #dec3d0;border-radius:13px;display:flex;justify-content:space-between;gap:18px;background:#fff}.ann-admin-description{min-width:0;flex:1}.ann-admin-description .ann-meta{font-size:.72rem;color:#8f426c;font-weight:850}.ann-admin-description h3{font-size:1.1rem;margin:6px 0;overflow-wrap:anywhere}.ann-admin-description p{color:#725d68;margin:0 0 8px;font-size:.85rem;overflow-wrap:anywhere}.ann-admin-description small{color:#967b89}.ann-admin-actions{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;max-width:320px}.ann-admin-actions form{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:740px){.ann-editor-columns{grid-template-columns:1fr}.ann-admin-row{display:block}.ann-admin-actions{margin-top:13px;max-width:none}.ann-feature{padding:0 16px}.ann-feature-head{align-items:start}.ann-page{padding:38px 16px 75px}}

.ann-admin-preview{margin-bottom:18px}.ann-preview-body{white-space:normal;overflow-wrap:anywhere;line-height:1.7;margin:14px 0 20px}.ann-admin-preview .ann-meta{font-size:.72rem;color:#8f426c;font-weight:850}

.ann-cover{display:block;width:100%;max-height:440px;object-fit:cover;border-radius:12px;margin:18px 0}.ann-card .ann-card-image{display:block;max-width:100%;width:100%;height:155px;object-fit:cover;border-radius:9px;margin-bottom:7px}.ann-editor-cover{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.ann-editor-cover>label{display:grid;gap:6px;font-weight:800;font-size:.85rem}.ann-editor-cover input[type=file]{max-width:100%}.ann-cover-current{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.ann-cover-current img{height:86px;width:160px;object-fit:cover;border-radius:9px}

.ann-draft-note{font-size:.79rem;color:#785568;margin:0}

/* Markdown content on full announcements and saved Admin previews. */
.ann-story-body,.ann-preview-body{overflow-wrap:anywhere}
.ann-story-body>*:first-child,.ann-preview-body>*:first-child{margin-top:0}
.ann-story-body>*:last-child,.ann-preview-body>*:last-child{margin-bottom:0}
.ann-story-body p,.ann-preview-body p{margin:0 0 1em;white-space:pre-line}
.ann-story-body h1,.ann-story-body h2,.ann-story-body h3,.ann-story-body h4,.ann-story-body h5,.ann-story-body h6{line-height:1.25;margin:1.25em 0 .5em;overflow-wrap:anywhere}
.ann-story-body h1{font-size:1.55em}.ann-story-body h2{font-size:1.3em}.ann-story-body h3{font-size:1.13em}
.ann-preview-body h1{font-size:1.7em}.ann-preview-body h2{font-size:1.4em}.ann-preview-body h3{font-size:1.2em}
.ann-story-body ul,.ann-story-body ol,.ann-preview-body ul,.ann-preview-body ol{padding-left:1.5em;margin:0 0 1.1em}
.ann-story-body li,.ann-preview-body li{margin:.25em 0}
.ann-story-body blockquote,.ann-preview-body blockquote{border-left:3px solid #e982b1;padding:.25em 0 .25em 1em;margin:1em 0;opacity:.9}
.ann-story-body blockquote p,.ann-preview-body blockquote p{margin:0}
.ann-story-body a{color:var(--theme-deep,#8b2d59);text-decoration:underline;text-underline-offset:2px}
.ann-preview-body a{color:#923561;text-decoration:underline;text-underline-offset:2px}
.ann-story-body code,.ann-preview-body code{font-family:ui-monospace,Consolas,Monaco,monospace;padding:.1em .28em;border-radius:4px;background:rgba(159,105,138,.20);font-size:.91em}
.ann-story-body pre,.ann-preview-body pre{overflow-x:auto;max-width:100%;padding:13px 16px;border-radius:9px;background:rgba(159,105,138,.14);line-height:1.55;white-space:pre;overflow-wrap:normal}
.ann-story-body pre code,.ann-preview-body pre code{padding:0;background:none;white-space:pre}
.ann-story-body hr,.ann-preview-body hr{border:0;border-top:1px solid currentColor;opacity:.2;margin:1.5em 0}

/* v1.4.62: light, readable full-story surface. Archive cards retain their own styling. */
.ann-public .ann-story{box-shadow:3px 5px 0 var(--theme-shadow,rgba(120,65,90,.14));}
.ann-public .ann-story-body{color:inherit;line-height:1.68}
.ann-public .ann-story-body h1,.ann-public .ann-story-body h2,.ann-public .ann-story-body h3,.ann-public .ann-story-body h4{color:var(--theme-deep,#682947)}
.ann-public .ann-story-body blockquote{border-left-color:var(--theme-accent,#ba4f80)}
.ann-public .ann-story-body pre,.ann-public .ann-story-body code{background:rgba(139,53,89,.09)}
.ann-public .ann-story-body pre code{background:none}
@media(max-width:740px){.ann-page-head{margin-bottom:18px}.ann-page-head h1{font-size:clamp(1.75rem,7vw,2.2rem)}.ann-story{padding:18px;border-radius:15px}.ann-story-body{font-size:1rem;line-height:1.65}}
