.jah-wrap { max-width: var(--jah-site-width, 1200px); margin: 0 auto; padding: 12px; background: #ffffff; }
@media (min-width: 700px) {
	.jah-wrap { padding: 18px; }
}

/* Stats */
.jah-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.jah-stat { background: #f3f4f6; border-radius: 8px; padding: 10px 12px; }
.jah-stat strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; }
.jah-stat span { font-size: 13px; color: #555; }

/* Closing soon */
.jah-closing { background: #fff3e6; border: 1px solid #f5c89a; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.jah-closing__title { font-size: 15px; margin: 0 0 6px; color: #8a3a00; }
.jah-closing ul { list-style: none; margin: 0; padding: 0; }
.jah-closing li { padding: 6px 0; border-top: 1px solid #f5c89a; font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.jah-closing li:first-child { border-top: 0; }
.jah-closing a { color: #1d1d1f; text-decoration: none; }
.jah-closing a:hover { text-decoration: underline; }
.jah-badge { flex: none; font-size: 11px; font-weight: 600; background: #fde0c2; color: #8a3a00; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.jah-badge.is-today { background: #c2410c; color: #fff; }

/* Category boxes */
.jah-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.jah-box { border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.jah-box__head { margin: 0; padding: 9px 12px; font-size: 16px; font-weight: 600; color: #fff; }
.jah-box__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.jah-box__list li { border-bottom: 1px solid #eee; }
.jah-box__list a { display: block; padding: 8px 12px; font-size: 14px; line-height: 1.4; color: #0b3d91; text-decoration: none; }
.jah-box__list a:hover { background: #f7f9fc; text-decoration: underline; }
.jah-box__list a:focus-visible, .jah-box__more:focus-visible { outline: 2px solid #e8590c; outline-offset: -2px; }
.jah-box__empty { padding: 10px 12px; font-size: 14px; color: #777; }
.jah-box__more { display: block; text-align: right; padding: 8px 12px; font-size: 13px; font-weight: 600; color: #e8590c; text-decoration: none; background: #fafafa; }
.jah-box__more:hover { text-decoration: underline; }

/* Archive / search fallback */
.jah-page-title { font-size: 22px; margin: 0 0 12px; }
.jah-archive { list-style: none; margin: 0 0 16px; padding: 0; }
.jah-archive li { padding: 10px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; gap: 12px; }
.jah-archive a { color: #0b3d91; text-decoration: none; }
.jah-archive time { font-size: 12px; color: #777; white-space: nowrap; }

@media (min-width: 640px) {
	.jah-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.jah-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jah-stats { max-width: 520px; }
}
