.cds-case1-remake { margin:0; background:#fff; }
.cds-case1-main { width:100%; min-height:45vh; }
.cds-case1-entry { width:min(1200px,100%); margin-inline:auto; padding:24px; }
.home .cds-case1-entry { max-width:none; padding:0; }
.cds-case1-content :where(img) { max-width:100%; height:auto; }
.cds-site-header,.cds-site-footer { width:100%; }
.cds-case1-result { padding-block:1rem; border-bottom:1px solid #ddd; }
.skip-link:focus { position:fixed; top:8px; left:8px; z-index:10000; background:#fff; padding:12px; }
@media(max-width:767px) { .cds-case1-entry { padding:16px; } }

/* The converted note must keep its full line box above the following banner. */
.cds-case1-remake-front.cds-standard-document .cds-standard-content .cds-n-1347-7fcfa6e > .wp-block-group__inner-container{margin-bottom:0}
/* The first article is a separate image/text section. The following six
   articles keep their original query and order, with two cards per row. */
@media(min-width:768px){
.cds-root-1347 .cds-n-1347-c8e62d4 .cds-case1-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Classic group inner wrappers fill the available column after their original
   source margins, rather than adding the margins to a fixed 100% width. */
.cds-root-1347 .cds-n-1347-868baa0>.wp-block-group__inner-container,
.cds-root-1347 .cds-n-1347-ba2aee5>.wp-block-group__inner-container{width:auto;min-width:0}
/* The source stacks its full-width main/sidebar columns at the tablet
   breakpoint; the converted column row must wrap there as well. */
@media(min-width:768px) and (max-width:1024px){
.cds-root-1347 .cds-n-1347-4aea5d0>.wp-block-group__inner-container>.cds-columns{flex-wrap:wrap}
}
/* Restore the sealed source's first-photo custom CSS on the converted widget. */
.cds-root-1347 .cds-n-1347-91a0cdf,
.cds-root-1347 .cds-n-1347-91a0cdf *{height:100%}
.cds-root-1347 .cds-n-1347-91a0cdf img{height:100%;object-fit:cover;width:100%;max-height:300px}
/* The conversion adds a core figure which had no counterpart in the source. */
.cds-root-1347 .cds-n-1347-91a0cdf figure{margin:0}
/* Match the requested front-page badge background; keep explicit per-term colors. */
.cds-root-1347 .cds-case1-grid__category{background:var(--cds-category-color,#309022)}
