/* Eat Your Nutrition: shared category styling, inspired by Gut-Healthy Recipes. */
body.category { --eyn-forest:#234233; --eyn-sage:#f2f4e2; --eyn-border:#d8dfc8; }
body.category .site-inner { box-sizing:border-box; width:100%; max-width:1200px; margin-inline:auto; padding-inline:clamp(18px,3vw,36px); }
body.category .content-sidebar-wrap,
body.category .content-sidebar-wrap > main,
body.category .content,
body.category .feast-modern-category-layout { width:100%; max-width:none; float:none; min-width:0; }
body.category .sidebar-primary,
body.category .sidebar-secondary { display:none; }
body.category .archive-title { max-width:960px; margin:24px auto 28px; color:var(--eyn-forest); text-align:center; font-size:clamp(28px,3.2vw,42px); line-height:1.2; text-wrap:balance; }
body.category .feast-modern-category-layout > p:first-of-type,
body.category .archive-description > p { max-width:860px; margin:0 auto 24px; font-size:19px; line-height:1.65; text-align:center; }
body.category .feast-modern-category-layout > p:nth-of-type(2) { max-width:860px; margin:0 auto 32px; text-align:center; line-height:1.65; }
body.category .feast-modern-category-layout > .wp-block-media-text { overflow:hidden; background:var(--eyn-sage); border:1px solid var(--eyn-border); border-radius:18px; margin-block:32px 44px; }
body.category .feast-modern-category-layout > .wp-block-media-text .wp-block-media-text__content { padding:clamp(20px,3vw,36px); }
body.category .feast-modern-category-layout > .wp-block-media-text img { display:block; width:100%; height:auto; }
body.category .feast-modern-category-layout > h2,
body.category .feast-modern-category-layout > h3 { text-align:center; text-wrap:balance; }
body.category .feast-modern-category-layout > h2 { margin-block:40px 24px; color:var(--eyn-forest); }
body.category .feast-modern-category-layout > h3 { padding:28px; background:var(--eyn-forest); color:#fff; border-radius:18px; margin-block:32px; line-height:1.5; }
body.category .fsri-list .listing-item { box-sizing:border-box; overflow:hidden; border:1px solid var(--eyn-border); border-radius:14px; background:#fff; padding:16px; }
body.category .fsri-list .listing-item img { border-radius:10px; object-fit:cover; }
body.category .fsri-list .fsri-title { color:var(--eyn-forest); font-size:19px; line-height:1.35; font-weight:600; }
body.category .feast-modern-archive .fsri-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding:0; margin:24px 0 40px; list-style:none; }
body.category .feast-modern-archive .fsri-list > .listing-item { width:auto; margin:0; float:none; }
body.category .feast-modern-archive .fsri-list .fsri-thumbnail img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
body.category .feast-modern-archive .fsri-title { padding-top:14px; }
body.category .wp-block-button__link { border-radius:999px; }
body.category .archive-pagination { clear:both; margin-block:32px; }
body.category main a:focus-visible { outline:3px solid #8a5a2b; outline-offset:4px; }
@media (max-width:800px) {
	body.category .feast-modern-archive .fsri-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
	body.category .fsri-list .listing-item { padding:12px; }
	body.category .fsri-list .fsri-title { font-size:17px; }
}
@media (max-width:480px) {
	body.category .archive-title { margin-top:20px; }
	body.category .feast-modern-category-layout > p:first-of-type { font-size:18px; }
	body.category .feast-modern-archive .fsri-list { grid-template-columns:1fr; }
	body.category .feast-modern-category-layout > h3 { padding:22px 18px; }
}
@media (prefers-reduced-motion:no-preference) {
	body.category .fsri-list .listing-item { transition:box-shadow .18s ease; }
	body.category .fsri-list .listing-item:hover { box-shadow:0 6px 20px rgb(35 66 51 / 10%); }
}
