.inspiration-wall {
    --wall-ink: #253d35;
    --wall-muted: #67786e;
    --wall-line: #dce3d9;
    color: var(--wall-ink);
    background: #f3f5ef;
    border-radius: 24px;
    padding: clamp(22px, 4vw, 58px);
    margin: 20px auto 48px;
    max-width: 1440px;
}
.wall-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.wall-eyebrow { font-size: .7rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--wall-muted); margin: 0 0 14px; }
.wall-heading h1 { font: 500 clamp(2rem, 4vw, 3.6rem)/1.12 Georgia, serif; max-width: 680px; letter-spacing: -.04em; margin: 0 0 16px; }
.wall-intro { margin: 0; color: var(--wall-muted); max-width: 620px; font-size: .98rem; line-height: 1.7; }
.wall-header-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.wall-shuffle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c4cec2; border-radius: 999px; padding: 11px 19px; color: var(--wall-ink); background: #fffdf7; font-size: .84rem; font-weight: 600; cursor: pointer; }
.wall-shuffle[hidden] { display: none; }
.wall-shuffle > span { font-size: 1.35rem; line-height: 1; }
.wall-shuffle:hover { background: #e5ecdf; }
.wall-shuffle:disabled { opacity: .6; cursor: wait; }
.wall-manage { color: var(--wall-muted); font-size: .8rem; text-underline-offset: 3px; }
.wall-refresh-status { min-height: 1.3em; color: var(--wall-muted); font-size: .8rem; margin: 0 0 16px; }
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: start; }
.wall-card { min-width: 0; position: relative; background: #fffefa; border: 1px solid var(--wall-line); border-radius: 17px; padding: clamp(22px,2.4vw,32px); box-shadow: 0 5px 18px #29422b05; overflow-wrap: anywhere; }
.wall-card--daily,.wall-card--random,.wall-card--proverb { min-height: 330px; display: flex; flex-direction: column; }
.wall-card--daily { background: #294d40; color: #fffdf4; border-color: #294d40; }
.wall-card--random { background: #fdfcf4; }
.wall-card--proverb { background: #f4ebd9; border-color: #e6dbc5; }
.wall-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.wall-card-label { font-size: .68rem; line-height: 1.6; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--wall-muted); margin: 4px 0 0; }
.wall-card--daily .wall-card-label { color: #d4e3d6; }
.wall-open { display: inline-flex; flex-shrink: 0; width: 29px; height: 29px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; text-decoration: none; color: inherit; opacity: .65; font-size: 1rem; }
.wall-open:hover { color: inherit; opacity: 1; background: #87a48a16; }
.wall-quote-mark { font: 4rem/.7 Georgia,serif; opacity: .35; margin-bottom: 6px; }
.wall-scripture-reference { font-size: .82rem; font-weight: 650; letter-spacing: .02em; margin: 0 0 15px; color: inherit; }
.wall-scripture-text { font: 400 1.19rem/1.7 Georgia,serif; margin: 0 0 26px; border: 0; padding: 0; color: inherit; }
.wall-verse { display: inline; }
.wall-verse + .wall-verse::before { content: ' '; }
.wall-verse sup { font: 500 .65rem/1 sans-serif; opacity: .6; margin-right: 3px; }
.wall-scripture-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid #6e886d40; font-size: .67rem; letter-spacing: .06em; opacity: .8; }
.wall-post-title { font: 500 1.35rem/1.35 Georgia,serif; letter-spacing: -.015em; color: var(--wall-ink); margin: 0 0 18px; }
.wall-post-preview { display: -webkit-box; -webkit-line-clamp: var(--wall-preview-lines,6); -webkit-box-orient: vertical; overflow: hidden; color: #526359; font-size: .93rem; line-height: 1.85; margin: 0 0 23px; }
.wall-reading summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--wall-line); padding-top: 15px; cursor: pointer; font-size: .78rem; font-weight: 650; list-style: none; }
.wall-reading summary::-webkit-details-marker { display: none; }
.wall-read-less { display: none; }
.wall-reading[open] .wall-read-less { display: inline; }
.wall-reading[open] .wall-read-more { display: none; }
.wall-reading[open] .wall-reading-chevron { transform: rotate(180deg); }
.wall-card--post:has(.wall-reading[open]) { grid-column: 1 / -1; }
.wall-card:has(.wall-reading[open]) .wall-post-preview { display: none; }
.wall-post-content { margin-top: 22px; font: 400 .98rem/1.85 Georgia,serif; }
.wall-post-content p:last-child { margin-bottom: 0; }
.wall-post-content :is(h2,h3,h4) { color: inherit; font-size: 1.2rem; line-height: 1.4; margin-top: 1.5em; }
.wall-post-content img { max-width: 100%; height: auto; border-radius: 8px; }
.wall-post-content table { display: block; overflow-x: auto; max-width: 100%; }
.wall-post-content a { color: #386450; text-underline-offset: 3px; }
.wall-post-content blockquote { border-left: 2px solid #acc0a7; padding-left: 14px; }
body.wall-reader-open { overflow: hidden; }
.wall-reader { width: calc(100% - 48px); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--wall-line); border-radius: 18px; color: var(--wall-ink); background: #fffefa; overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 90px #142d3450; }
.wall-reader:not([open]) { display: none; }
.wall-reader::backdrop { background: #152b23a8; backdrop-filter: blur(3px); }
.wall-reader-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 25px 32px; background: #fffefa; border-bottom: 1px solid var(--wall-line); }
.wall-reader-title { font: 500 clamp(1.5rem,3vw,2.3rem)/1.3 Georgia,serif; color: inherit; margin: 10px 0 0; }
.wall-reader-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.wall-reader-close { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid #c4cec2; border-radius: 999px; background: #f3f5ef; color: var(--wall-ink); font: 600 .85rem/1.4 system-ui,sans-serif; cursor: pointer; }
.wall-reader-close span { font-size: 1.3rem; line-height: 1; }
.wall-reader-close:hover { background: #e5ecdf; }
.wall-reader-body { padding: 28px 32px 36px; }
.wall-reader-body .wall-post-content { width: 100%; max-width: none; margin: 0; font-size: 1.08rem; }
@media (max-width: 650px) { .wall-reader { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; } .wall-reader-header { flex-direction: column; gap: 16px; padding: 20px; } .wall-reader-body { padding: 24px 20px; } .wall-reader-actions { width: 100%; justify-content: space-between; } }
.wall-empty { color: var(--wall-muted); font-size: .9rem; line-height: 1.8; }
.wall-card--daily .wall-empty { color: #d4e3d6; }
.wall-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.inspiration-wall :is(a,button,summary):focus-visible { outline: 3px solid #ab8954; outline-offset: 5px; }
@media (max-width: 1050px) { .wall-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .wall-heading { align-items: flex-start; } }
@media (max-width: 650px) { .inspiration-wall { margin-top: 10px; border-radius: 16px; padding: 24px 16px; } .wall-heading { flex-direction: column; gap: 20px; } .wall-header-actions { align-items: flex-start; } .wall-grid { grid-template-columns: 1fr; gap: 16px; } .wall-card { padding: 25px; } .wall-card--daily,.wall-card--random,.wall-card--proverb { min-height: 0; } }
@media (prefers-reduced-motion: no-preference) { .wall-shuffle,.wall-open { transition: background .15s, opacity .15s; } }

/* Keep the daily reading legible over its dark background, including global blockquote styles. */
.inspiration-wall .wall-card--daily .wall-scripture-text,
.inspiration-wall .wall-card--daily .wall-scripture-text * { color:#fff !important; }
