.ad-space{margin-top:32px;margin-bottom:36px;clear:both}.ad-label{display:block;margin:0 0 9px;color:#738174;font:500 10px/1.4 'DM Sans',sans-serif;letter-spacing:1px;text-transform:uppercase;text-align:center}.ad-creative{display:block;width:100%;overflow:hidden;border-radius:6px;background:#006b43}.ad-creative img{display:block;width:100%;height:auto;aspect-ratio:1280/246;object-fit:contain}.ad-creative:focus-visible,.ad-available:focus-visible{outline:3px solid #ffb000;outline-offset:5px}.ad-available{box-sizing:border-box;min-height:168px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 42px;border:1px solid #cad5c7;border-radius:6px;background:#edf1e8;color:#006b43;text-decoration:none}.ad-available small{display:block;font:600 10px/1.5 'DM Sans',sans-serif;letter-spacing:1.6px;margin-bottom:12px}.ad-available strong{display:block;font:500 clamp(24px,3vw,38px)/1.15 Georgia,serif}.ad-contact{display:inline-flex;align-items:center;gap:16px;white-space:nowrap;font:600 14px/1.5 'DM Sans',sans-serif}.ad-contact svg{height:22px;width:22px}.ad-available:hover{background:#e4ecdf}@media(max-width:600px){.ad-space{margin-top:24px;margin-bottom:26px}.ad-label{font-size:8px;letter-spacing:.7px;margin-bottom:7px}.ad-creative{border-radius:3px}.ad-available{min-height:160px;padding:25px;align-items:flex-start;flex-direction:column;gap:20px}.ad-contact{font-size:13px}}

/* Shared sponsor banner beside categories; full-width on smaller screens. */
.category-sponsors-row{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:24px 0 14px}.category-sponsors-row .filter-chips{flex:1 1 58%;margin:0;min-width:0;flex-wrap:wrap}.ad-space--categories{flex:0 1 42%;max-width:520px;min-width:260px;margin:0;clear:none}.ad-space--article-end{max-width:1000px;margin-top:28px;margin-bottom:48px}
@media(max-width:900px){.category-sponsors-row{flex-direction:column;align-items:stretch;gap:18px}.category-sponsors-row .filter-chips{flex:auto}.ad-space--categories{flex:auto;min-width:0;max-width:none;width:100%}.ad-space--article-end{margin-top:20px;margin-bottom:30px}}

/* Shared equal-time sponsor rotation, with intact artwork and stable layout. */
.ad-rotator{position:relative;width:100%;aspect-ratio:5.2/1;overflow:hidden;border-radius:6px;background:#f0f1eb}
.ad-rotator .ad-slide{width:100%;height:100%;background:var(--ad-background);animation:ad-reveal .45s ease-out}
.ad-rotator .ad-slide[hidden]{display:none!important}
.ad-rotator .ad-slide img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
@keyframes ad-reveal{from{opacity:.2}to{opacity:1}}
@media(max-width:600px){.ad-rotator{aspect-ratio:3/1}}
@media(prefers-reduced-motion:reduce){.ad-rotator .ad-slide{animation:none}}

/* Use the complete artwork at full width; its native ratio determines the height. */
.ad-rotator{aspect-ratio:auto;background:transparent;overflow:visible}
.ad-rotator .ad-slide{height:auto;background:transparent}
.ad-rotator .ad-slide img{width:100%;height:auto;aspect-ratio:auto;object-fit:initial}
.ad-pagination{display:flex;justify-content:center;align-items:center;gap:2px;margin:5px 0 0}
.ad-dot{appearance:none;display:grid;place-items:center;width:30px;height:28px;border:0;background:transparent;padding:0;cursor:pointer}
.ad-dot::before{content:"";width:7px;height:7px;border-radius:99px;background:#a4b3a8;transition:width .2s,background .2s}
.ad-dot[aria-pressed="true"]::before{width:23px;background:#006b43}
.ad-dot:hover::before{background:#347d5a}
.ad-dot:focus-visible{outline:2px solid #006b43;outline-offset:1px;border-radius:5px}
@media(prefers-reduced-motion:reduce){.ad-dot::before{transition:none}}

/* Standard commercial format: every placement keeps the same 1280 × 246 frame. */
.ad-rotator{aspect-ratio:1280/246;overflow:hidden;background:#f0f1eb}
.ad-rotator .ad-slide{height:100%}
.ad-rotator .ad-slide img{width:100%;height:100%;aspect-ratio:1280/246;object-fit:fill}
.ad-rotator .ad-slide{position:relative;overflow:hidden}
.ad-rotator .ad-slide img{position:absolute;left:0;top:var(--ad-image-top,0%);height:var(--ad-image-height,100%);width:100%;max-width:none;object-fit:fill}
