.managed-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.managed-content-card { display: flex; overflow: hidden; flex-direction: column; background: #fff; border: 1px solid #e2ddd7; border-radius: 14px; box-shadow: 0 14px 38px rgba(22, 24, 25, .07); }
.managed-content-card.is-featured { border-top: 4px solid var(--orange); }
.managed-content-card > img { width: 100%; height: 220px; object-fit: cover; background: #eeeae5; }
.managed-content-card > div { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.managed-content-card h3 { margin: .35rem 0 .65rem; font-size: 1.35rem; }
.managed-content-card p { line-height: 1.65; }
.managed-meta { color: #716b65; font-size: .9rem; }
.managed-card-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: auto; padding-top: 1.5rem; }
.managed-card-actions .text-link { margin-top: 0; }
.managed-detail { max-width: 920px; }
.managed-detail-image { width: 100%; max-height: 540px; object-fit: cover; margin-bottom: 1.5rem; border-radius: 14px; }
.managed-detail-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-bottom: 1.5rem; color: #5f5953; }
.managed-detail-body { white-space: pre-line; font-size: 1.05rem; line-height: 1.8; }

.memory-state-list { margin-top: 2.5rem; }
.memory-filter-bar { max-width: 760px; margin: 2rem auto 0; padding: 1.15rem 1.25rem; background: #fff; border: 1px solid #ddd8d2; border-radius: 12px; box-shadow: 0 12px 30px rgba(22, 24, 25, .05); }
.memory-filter-bar > label { display: block; margin-bottom: .55rem; color: var(--ink); font-size: .86rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.memory-filter-controls { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: .75rem; align-items: center; }
.memory-filter-controls select { width: 100%; min-height: 48px; padding: .7rem 2.2rem .7rem .85rem; color: #17191a; background: #fff; border: 1px solid #cfc7be; border-radius: 7px; font: inherit; }
.memory-filter-controls select:focus { outline: 3px solid rgba(245, 92, 21, .22); border-color: var(--orange); }
.content-section .memory-filter-controls .button { margin-top: 0; }
.memory-clear-filter { color: #5f5953; font-size: .85rem; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .25rem; }
.memory-state-section + .memory-state-section { margin-top: 3.25rem; }
.memory-state-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; padding-bottom: .7rem; border-bottom: 2px solid #e3ddd7; }
.memory-state-heading h3 { position: relative; margin: 0; color: var(--orange-deep); font-size: clamp(1.45rem, 2.5vw, 2rem); }
.memory-state-heading h3::after { position: absolute; bottom: -.8rem; left: 0; width: 54px; height: 4px; content: ""; border-radius: 999px; background: var(--orange); }
.memory-state-heading span { color: #6d665f; font-size: .82rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.memory-worker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.memory-worker-card { min-width: 0; padding: 1rem 1.1rem; border: 1px solid #e6e0da; border-left: 4px solid var(--orange); border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(22, 24, 25, .05); }
.memory-worker-card h4 { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.memory-worker-card p { margin: .35rem 0 0; color: #6d665f; font-size: .9rem; line-height: 1.4; }

.event-search-bar { position: relative; display: grid; grid-template-columns: minmax(260px, 1fr) auto minmax(170px, 220px); gap: .85rem; align-items: center; margin: 2rem 0 2.25rem; padding: .8rem; background: #fff; border: 1px solid #ddd8d2; }
.event-search-input { display: flex; align-items: center; min-width: 0; }
.event-search-input svg { flex: 0 0 auto; width: 21px; height: 21px; margin-left: .35rem; color: var(--orange); fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.event-search-input input { width: 100%; min-height: 48px; padding: .7rem .75rem; color: #17191a; background: transparent; border: 0; font: inherit; }
.event-search-input input:focus { outline: 0; }
.event-search-input:focus-within { outline: 3px solid rgba(245, 92, 21, .22); }
.event-search-action { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.content-section .event-search-action .button { margin-top: 0; }
.event-state-filter { align-self: center; justify-self: center; width: min(100%, 220px); padding-left: .85rem; border-left: 1px solid #ddd8d2; }
.event-state-filter select { width: 100%; min-height: 48px; padding: .7rem 2.2rem .7rem .8rem; color: #17191a; background: #fff; border: 1px solid #cfc7be; border-radius: 7px; font: inherit; }
.event-state-filter select:focus { outline: 3px solid rgba(245, 92, 21, .22); border-color: var(--orange); }
.event-clear-filters { grid-column: 1 / -1; justify-self: end; margin: -.35rem .2rem 0 0; color: #5f5953; font-size: .82rem; font-weight: 750; }
.event-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.event-list-heading h3 { position: relative; margin: 0; padding-bottom: .55rem; font-size: clamp(1.65rem, 2.8vw, 2.2rem); font-weight: 650; }
.event-list-heading h3::after { position: absolute; bottom: 0; left: 50%; width: 52px; height: 4px; content: ""; background: var(--orange); border-radius: 999px; transform: translateX(-50%); }
.event-month + .event-month { margin-top: 3.5rem; }
.event-month-heading { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; }
.event-month-heading::after { flex: 1; height: 2px; content: ""; background: linear-gradient(90deg, rgba(242, 90, 10, .55), #e4ded8 55%); }
.event-month-heading h3 { margin: 0; color: var(--orange-deep); font-size: 1.05rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; }
.event-list { display: grid; }
.event-list-item { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 1.35rem; align-items: start; padding: 2rem 1rem; border-bottom: 1px solid #e1ddd8; }
.event-list-item:last-child { border-bottom: 0; }
.event-list-item.has-flyer { grid-template-columns: 66px minmax(0, 1fr) minmax(160px, 210px); }
.event-date-badge { align-self: center; display: grid; justify-items: center; width: 100%; padding: .7rem .35rem .8rem; background: var(--orange-soft); border: 1px solid rgba(242, 90, 10, .24); border-top: 4px solid var(--orange); border-radius: 9px; line-height: 1; text-align: center; text-transform: uppercase; }
.event-date-badge span { margin-bottom: .4rem; color: var(--orange-deep); font-size: .76rem; font-weight: 850; }
.event-date-badge strong { color: var(--ink); font-size: 1.65rem; }
.event-list-copy { align-self: center; min-width: 0; padding-top: .05rem; text-align: center; }
.event-list-time { margin: 0 0 .8rem; color: var(--ink); font-size: .93rem; font-weight: 750; }
.event-list-copy h4 { margin: 0 0 .9rem; font-size: 1.18rem; line-height: 1.35; }
.event-list-copy h4 a { color: var(--orange-deep); text-decoration: none; }
.event-list-copy h4 a:hover { color: var(--ink); }
.event-list-location { margin: 0 0 1.15rem; color: #514b46; line-height: 1.55; }
.event-list-location strong { color: var(--ink); }
.event-list-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; }
.event-list-actions a { padding-bottom: .18rem; color: var(--orange-deep); border-bottom: 2px solid rgba(242, 90, 10, .32); font-size: .83rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.event-list-actions a:hover { color: var(--ink); border-color: var(--ink); }
.event-list-flyer { align-self: center; justify-self: center; display: block; width: 100%; background: #eeeae5; box-shadow: 4px 5px 8px rgba(22, 24, 25, .22); }
.event-list-flyer img { display: block; width: 100%; height: auto; object-fit: contain; }
.event-detail-flyer { display: block; width: 100%; height: auto; margin-bottom: 1.5rem; border-radius: 14px; }
.admin-preview-banner { color: #fff; background: #17191a; border-bottom: 4px solid var(--orange); }
.admin-preview-banner .shell { display: flex; align-items: center; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.admin-preview-banner .shell > div { display: flex; flex: 1; align-items: baseline; gap: .8rem; }
.admin-preview-banner strong { color: var(--orange); font-size: .85rem; letter-spacing: .055em; text-transform: uppercase; }
.admin-preview-banner span { color: #eee9e4; font-size: .9rem; line-height: 1.45; }
.admin-preview-banner .admin-preview-status { padding: .34rem .65rem; color: #17191a; background: var(--orange-soft); border-radius: 999px; font-size: .72rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.admin-preview-banner a { flex: 0 0 auto; color: #fff; font-size: .82rem; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .3rem; }
.admin-preview-banner a:hover { color: var(--orange); }
.admin-preview-sponsor { width: min(100%, 430px); margin: 2rem auto; }
.admin-preview-sponsor .partner-card { min-height: 0; }
.admin-preview-board { grid-template-columns: minmax(0, 360px); justify-content: center; }
.admin-preview-back { justify-content: center; }
@media (max-width: 900px) { .managed-content-grid, .memory-worker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .managed-content-grid, .memory-worker-grid { grid-template-columns: 1fr; } .memory-filter-controls { grid-template-columns: 1fr; } .memory-filter-controls .button { width: 100%; } .memory-clear-filter { justify-self: center; } .memory-state-heading { align-items: flex-start; flex-direction: column; gap: .35rem; } }
@media (max-width: 720px) { .admin-preview-banner .shell, .admin-preview-banner .shell > div { align-items: flex-start; flex-direction: column; } .admin-preview-banner .shell { gap: .65rem; } }
@media (max-width: 780px) { .event-search-bar { grid-template-columns: 1fr; } .event-state-filter { grid-column: auto; justify-self: stretch; width: 100%; padding-top: .8rem; padding-left: 0; border-top: 1px solid #ddd8d2; border-left: 0; } .event-list-item { grid-template-columns: 54px minmax(0, 1fr); gap: 1rem; padding-inline: .25rem; } .event-list-item.has-flyer { grid-template-columns: 54px minmax(0, 1fr) 150px; } }
@media (max-width: 560px) { .event-search-bar { grid-template-columns: 1fr; } .event-search-action, .event-search-action .button { width: 100%; } .event-state-filter { grid-column: auto; } .event-clear-filters { grid-column: auto; } .event-list-heading { margin-bottom: 1.5rem; } .event-list-item, .event-list-item.has-flyer { grid-template-columns: 48px minmax(0, 1fr); } .event-list-flyer { grid-column: 2; width: min(100%, 240px); margin-top: .5rem; } }
