/* Weber Scores — front-end shortcode styles (minimal, theme-agnostic) */

.weber-scores {
	list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem;
	/* liturgical colour palette (text-contrast tuned), for the bold day names on each card */
	--weber-color-red: #b4232a; --weber-color-green: #2e7d4f; --weber-color-violet: #6c3a8e;
	--weber-color-rose: #b5567e; --weber-color-black: #222222; --weber-color-gold: #b8901f;
}
.weber-cols-2 { grid-template-columns: repeat(2, 1fr); }
.weber-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .weber-scores { grid-template-columns: 1fr; } }

.weber-card { border: 1px solid #e3e0d8; border-radius: 8px; padding: 1rem 1.1rem; background: #fbfaf7; }
.weber-card__title { display: block; font-weight: 600; font-size: 1.05rem; text-decoration: none; margin-bottom: .25rem; }
.weber-card__day { font-size: .85rem; color: #6b5e3e; }
.weber-card__dayname { font-weight: 700; }
.weber-card__liturgy { color: #8a8a8a; font-weight: 400; }
.weber-card__parts { font-size: .85rem; color: #555; margin-top: .15rem; }
.weber-card__pdf { display: inline-block; margin-top: .55rem; font-size: .8rem; text-decoration: none; color: #7a2e2e; }
.weber-card__edit { display: inline-block; margin-top: .55rem; padding: .05rem .55rem; border: 1px solid #ddd; border-radius: 4px;
	background: #fafafa; font-size: .75rem; text-decoration: none; color: #8a7a55; }
.weber-card__edit:hover { background: #f0eee6; }

.weber-contents { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eee; }
.weber-contents__row { padding: .45rem 0; border-bottom: 1px solid #eee; }
.weber-contents__part { font-weight: 600; }
.weber-contents__day { color: #6b5e3e; }
.weber-contents__meta { color: #777; font-size: .85rem; }

.weber-filter { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin-bottom: 1.25rem; }
.weber-filter__field { display: flex; flex-direction: column; font-size: .8rem; gap: .2rem; }
.weber-filter select { padding: .3rem .4rem; }
.weber-filter button { padding: .4rem .9rem; }

.weber-empty { color: #888; font-style: italic; }

/* --- [weber_upcoming] --- */
.weber-upcoming { display: flex; flex-direction: column; }
.weber-up-row { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #eee; }
.weber-up-date { flex: 0 0 3.4rem; text-align: center; line-height: 1.1; }
.weber-up-dow { display: block; font-size: .7rem; text-transform: uppercase; color: #999; }
.weber-up-dom { display: block; font-weight: 700; color: #444; }
.weber-up-main { flex: 1; min-width: 0; }
.weber-up-cel { display: flex; align-items: center; gap: .45rem; }
.weber-up-name { font-weight: 600; }
.weber-up-rank { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: #8a7a55; }
.weber-up-cycle { font-size: .68rem; color: #9a9a9a; margin-left: auto; white-space: nowrap; padding-left: .5rem; }
.weber-up-dot { width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); flex: 0 0 auto; }
.weber-color-white { background: #fff; } .weber-color-red { background: #b4232a; }
.weber-color-green { background: #2e7d4f; } .weber-color-violet { background: #6c3a8e; }
.weber-color-rose { background: #e6a6bd; } .weber-color-black { background: #222; }
.weber-color-gold { background: #c8a93a; } /* festal: White on Solemnities/Feasts → Gold */
.weber-up-scores { list-style: none; margin: .3rem 0 0; padding: 0; }
.weber-up-scores li { padding: .12rem 0; font-size: .9rem; }
.weber-up-parts { color: #888; font-size: .8rem; }
.weber-up-edit { display: inline-block; margin: 0 1em; padding: .05rem .55rem; border: 1px solid #ddd; border-radius: 4px;
	background: #fafafa; font-size: .72rem; color: #8a7a55; text-decoration: none; }
.weber-up-edit:hover { background: #f0eee6; }
.weber-up-none { color: #b0b0b0; font-size: .85rem; font-style: italic; margin-top: .2rem; }
.weber-up-evening { margin-top: .35rem; padding-left: .55rem; border-left: 2px solid #e7e0cf; }
.weber-up-eve-label { display: block; font-size: .8rem; font-style: italic; color: #8a7a55; }
.weber-up-evening .weber-up-scores { margin-top: .15rem; }
@media (max-width: 640px) { .weber-up-date { flex-basis: 2.8rem; } .weber-up-cycle { display: none; } }
