/* v1.0.24 news tag page only (linked from tag.hbs inside {{#match slug "news"}}). Tighter spacing, 3/2/1 grid, heading+count hidden, load-more ad. */
/* Option 2: tighter space around the "News" title and the Latest news block (category pages) */
html body main .simple-hero{margin-top:8px!important}
html body main .simple-hero .text-card{padding-top:14px!important;padding-bottom:18px!important}
html body main .simple-hero .text-card-heading{margin-bottom:0!important}
html body main .articles-grid-section .pagination-grid{margin-top:14px!important;row-gap:28px!important}
html body main .articles-grid-section .grid-small-card > .small-card-heading:first-child{margin-top:0!important}
@media(max-width:999px){html body main .simple-hero .text-card{padding-top:8px!important;padding-bottom:12px!important}html body main .articles-grid-section .pagination-grid{row-gap:20px!important;margin-top:10px!important}}
/* Option 4b: 3 across on desktop (>=1000px, bigger cards), 2 across on tablet, 28px gutter with a thin divider in each gap */
@media(min-width:600px){html body main #pagination-grid{column-gap:28px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body main #pagination-grid > .grid-small-card{position:relative}
html body main #pagination-grid > .grid-small-card::before{content:"";position:absolute;left:-14px;top:4%;bottom:4%;border-left:1px solid #d9dde3}}
@media(min-width:600px) and (max-width:999px){html body main #pagination-grid > .grid-small-card:nth-child(2n+1)::before{display:none}}
@media(min-width:1000px){html body main #pagination-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body main #pagination-grid > .grid-small-card:nth-child(3n+1)::before{display:none}}
/* Combined: drop the small "Latest …" line + article count under the big title */
html body main .articles-grid-section .section-heading{display:none!important}
/* load-more ad: never wider than the grid */
.woi-lm-ad{grid-column:1/-1;text-align:center;margin:8px 0 4px;max-width:100%;overflow:hidden}
.woi-lm-ad ins{display:block;max-width:100%}
.woi-lm-ad iframe,.woi-lm-ad img{max-width:100%!important;display:block;margin:0 auto}
.woi-lm-ad img{height:auto}
@media(max-width:599px){html body main .simple-hero{margin-top:4px!important}html body main .simple-hero .text-card{padding-top:4px!important;padding-bottom:8px!important}html body main .articles-grid-section .pagination-grid{margin-top:4px!important}}

.woi-ad-link{display:block;text-align:right;font-size:12px;line-height:1.3;color:#5a6270!important;text-decoration:underline;text-underline-offset:2px;margin:4px 2px 0}
