/* Frame width and positioning belong to the WPBakery column. */
.mrs-highlights{--mrs-highlight-yellow:#fbef1f;position:relative;width:100%;min-width:0;color:#111;background:var(--mrs-highlight-yellow);text-align:left;box-sizing:border-box;isolation:isolate;border-radius:10px;overflow:hidden}
.mrs-highlights *{box-sizing:border-box}
.mrs-highlights-slides{display:grid;grid-template-columns:minmax(0,1fr)}
.mrs-highlight{grid-area:1/1;min-width:0;display:flex;flex-direction:column;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .28s ease,visibility 0s linear .28s;margin:0!important;background:var(--mrs-highlight-yellow);color:#111}
.mrs-highlight.is-active{visibility:visible;opacity:1;pointer-events:auto;z-index:1;transition:opacity .28s ease}
.mrs-highlight-image{width:100%;aspect-ratio:5/3;overflow:hidden;flex:none;background:#111}
.mrs-highlight-image img{display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0!important}
.mrs-highlight-content{padding:clamp(15px,1.6vw,24px);flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.mrs-highlight-title{color:#111!important;margin:0!important;text-transform:uppercase;line-height:1.15!important;overflow-wrap:anywhere;font-size:clamp(16px,1.25vw,22px)!important}
.mrs-highlight-body{font-size:14px;line-height:1.5;color:#111!important;overflow-wrap:anywhere}
.mrs-highlight-body p{margin:0 0 8px!important;color:inherit!important}.mrs-highlight-body p:last-child{margin-bottom:0!important}
.mrs-highlight-action{margin-top:auto;padding-top:4px}/* Keep the highlight CTA black with white text in every interaction state. */
.mrs-highlights .mrs-highlight-action a.grve-btn{display:inline-flex!important;margin:0!important;text-decoration:none!important}
.mrs-highlights .mrs-highlight-action a.grve-btn,
.mrs-highlights .mrs-highlight-action a.grve-btn:is(:link,:visited,:hover,:focus,:focus-visible,:active){background:#000!important;border-color:#000!important;color:#fff!important}
.mrs-highlights .mrs-highlight-action a.grve-btn span,
.mrs-highlights .mrs-highlight-action a.grve-btn:is(:hover,:focus,:focus-visible,:active) span{color:#fff!important}
.mrs-highlights .mrs-highlight-action a.grve-btn::before,
.mrs-highlights .mrs-highlight-action a.grve-btn::after,
.mrs-highlights .mrs-highlight-action a.grve-btn:is(:hover,:focus,:focus-visible,:active)::before,
.mrs-highlights .mrs-highlight-action a.grve-btn:is(:hover,:focus,:focus-visible,:active)::after{background:transparent!important;border-color:transparent!important}
.mrs-highlight-nav{display:flex;justify-content:flex-end;align-items:center;padding:0 12px 10px;gap:1px;position:relative;z-index:2}
.mrs-highlight-nav button{appearance:none;background:transparent!important;border:0!important;padding:0!important;margin:0!important;color:#111!important;min-width:25px;min-height:30px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none!important}
.mrs-highlight-dot:before{content:'';width:7px;height:7px;border-radius:50%;background:transparent;border:1px solid #111}.mrs-highlight-dot[aria-current=true]:before{background:#111}
.mrs-highlight-nav button:focus-visible,.mrs-highlight-action a:focus-visible{outline:2px solid #111!important;outline-offset:2px}.mrs-highlight-pause{font-size:13px;line-height:1}
@media(max-width:767px){.mrs-highlight-content{padding:18px}.mrs-highlight-title{font-size:18px!important}.mrs-highlight-nav button{min-width:32px;min-height:36px}}
@media(prefers-reduced-motion:reduce){.mrs-highlight{transition:none!important}}

/* Limit card copy without changing the stored title or description. */
.mrs-highlights .mrs-highlight-title,
.mrs-highlights .mrs-highlight-body{display:-webkit-box!important;-webkit-box-orient:vertical;overflow:hidden;width:100%;min-width:0;flex-shrink:0}
.mrs-highlights .mrs-highlight-title{-webkit-line-clamp:2;line-clamp:2;max-height:2.3em}
.mrs-highlights .mrs-highlight-body{-webkit-line-clamp:3;line-clamp:3;line-height:1.5!important;max-height:4.5em}
.mrs-highlights .mrs-highlight-body p{display:inline;margin:0!important;font-size:inherit!important;line-height:inherit!important}
.mrs-highlights .mrs-highlight-body p+p::before{content:' '}

/* Align the single shared navigation with the CTA row. Compact when space is limited. */
.mrs-highlights{--mrs-card-pad:clamp(15px,1.6vw,24px);--mrs-nav-height:32px;--mrs-action-height:32px;display:grid;grid-template-columns:minmax(0,1fr)}
.mrs-highlights-slides{grid-column:1;grid-row:1;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.mrs-highlight-image img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
.mrs-highlight-content{padding:var(--mrs-card-pad)}
.mrs-highlight-action{align-self:stretch;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--mrs-action-height) + 9px);padding-top:9px;min-width:0}
.mrs-highlight-action a.grve-btn{max-width:100%}
.mrs-highlight-nav{grid-column:1;grid-row:2;justify-self:end;align-self:end;padding:0;margin:0 var(--mrs-card-pad) var(--mrs-card-pad);gap:0;height:var(--mrs-nav-height);max-width:calc(100% - 2 * var(--mrs-card-pad));position:relative;z-index:2}
.mrs-highlights.is-inline-nav .mrs-highlight-nav{grid-row:1;margin-bottom:var(--mrs-card-pad)}
.mrs-highlights.is-inline-nav .mrs-highlight-action{padding-right:calc(var(--mrs-nav-width,0px) + 10px)}
.mrs-highlights .mrs-highlight-nav button{width:20px;min-width:20px;height:var(--mrs-nav-height);min-height:var(--mrs-nav-height);flex:none}
.mrs-highlights .mrs-highlight-nav .mrs-highlight-dot::before{display:block;box-sizing:border-box;width:5px;height:5px;border:0;border-radius:999px;background:#111;opacity:.42;transition:width .2s ease,opacity .2s ease}
.mrs-highlights .mrs-highlight-nav .mrs-highlight-dot[aria-current=true]{width:34px;min-width:34px}
.mrs-highlights .mrs-highlight-nav .mrs-highlight-dot[aria-current=true]::before{width:24px;height:5px;background:#111;opacity:1}
.mrs-highlights.is-compact-nav .mrs-highlight-nav .mrs-highlight-dot{width:18px;min-width:18px}
.mrs-highlights.is-compact-nav .mrs-highlight-nav .mrs-highlight-dot::before{width:7px;height:7px;border:1px solid #111;background:transparent;opacity:1}
.mrs-highlights.is-compact-nav .mrs-highlight-nav .mrs-highlight-dot[aria-current=true]::before{background:#111}
.mrs-highlights .mrs-highlight-nav .mrs-highlight-pause{width:24px;min-width:24px}
.mrs-highlights.is-stacked-nav .mrs-highlight-nav{margin-top:-10px}
@media(max-width:767px){.mrs-highlights{--mrs-card-pad:18px}}
@media(prefers-reduced-motion:reduce){.mrs-highlights .mrs-highlight-nav .mrs-highlight-dot::before{transition:none}}

/* Bottom alignment is measured from the card padding, never from a centred CTA offset.
   Anchor the painted indicators themselves, not just their clickable boxes. */
.mrs-highlights.is-inline-nav .mrs-highlight-action{align-items:flex-end!important}
.mrs-highlights.is-inline-nav .mrs-highlight-nav{align-self:end!important;align-items:flex-end!important;margin-bottom:var(--mrs-card-pad)!important;bottom:auto!important;transform:none!important}
.mrs-highlights.is-inline-nav .mrs-highlight-nav button{position:relative!important;align-items:flex-end!important;transform:none!important;top:auto!important;bottom:auto!important}
.mrs-highlights.is-inline-nav .mrs-highlight-nav .mrs-highlight-dot::before{position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:0!important;transform:translateX(-50%)!important;margin:0!important}

/* Align the painted rightmost indicator with the content's right padding,
   independent of its active width, without shrinking its pointer hit area. */
.mrs-highlights .mrs-highlight-nav .mrs-highlight-dot:last-child{position:relative!important}
.mrs-highlights .mrs-highlight-nav .mrs-highlight-dot:last-child::before{position:absolute!important;left:auto!important;right:0!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important}
.mrs-highlights.is-inline-nav .mrs-highlight-nav .mrs-highlight-dot:last-child::before{top:auto!important;bottom:0!important;transform:none!important}

/* Image and title links have no visual hover effects. Keep CTA rules independent. */
.mrs-highlights .mrs-highlight-image-link{display:block;width:100%;height:100%}
.mrs-highlights .mrs-highlight-title-link{display:inline;font:inherit;letter-spacing:inherit;text-transform:inherit}
.mrs-highlights .mrs-highlight :is(.mrs-highlight-image-link,.mrs-highlight-title-link),
.mrs-highlights .mrs-highlight :is(.mrs-highlight-image-link,.mrs-highlight-title-link):is(:link,:visited,:hover,:focus,:active){color:inherit!important;text-decoration:none!important;background:transparent!important;box-shadow:none!important;border:0!important;opacity:1!important;filter:none!important;transform:none!important;transition:none!important;animation:none!important}
.mrs-highlights .mrs-highlight :is(.mrs-highlight-image-link,.mrs-highlight-title-link)::before,
.mrs-highlights .mrs-highlight :is(.mrs-highlight-image-link,.mrs-highlight-title-link)::after{content:none!important}
.mrs-highlights .mrs-highlight-image-link img,
.mrs-highlights .mrs-highlight-image-link:is(:hover,:focus,:active) img{opacity:1!important;filter:none!important;transform:none!important;transition:none!important;animation:none!important}
.mrs-highlights .mrs-highlight-image-link:focus-visible{outline:2px solid #fff!important;outline-offset:-4px}
.mrs-highlights .mrs-highlight-title-link:focus-visible{outline:2px solid #111!important;outline-offset:2px}
