.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-20 .elementor-element.elementor-element-df05ad4{width:var( --container-widget-width, 600px );max-width:600px;--container-widget-width:600px;--container-widget-flex-grow:0;}.elementor-20 .elementor-element.elementor-element-df05ad4 .elementor-heading-title{font-family:"Arvo", Sans-serif;font-size:35px;font-weight:700;line-height:38px;color:var( --e-global-color-45c4851 );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-20 .elementor-element.elementor-element-d5e07cd{width:var( --container-widget-width, 50% );max-width:50%;--container-widget-width:50%;--container-widget-flex-grow:0;font-family:"Inter", Sans-serif;font-size:24px;font-weight:500;color:var( --e-global-color-45c4851 );}.elementor-20 .elementor-element.elementor-element-7eb6c79{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:40px 40px;--row-gap:40px;--column-gap:40px;}.elementor-20 .elementor-element.elementor-element-7eb6c79.e-con{--align-self:center;}.elementor-20 .elementor-element.elementor-element-1eb1ca3{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--margin-top:040px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-20 .elementor-element.elementor-element-fd59d2c{--display:flex;--min-height:48px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:4px 4px;--row-gap:4px;--column-gap:4px;}.elementor-20 .elementor-element.elementor-element-fd59d2c.e-con{--flex-grow:1;--flex-shrink:1;}.elementor-widget-icon.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-primary );}.elementor-20 .elementor-element.elementor-element-0d1058e .elementor-icon-wrapper{text-align:center;}.elementor-20 .elementor-element.elementor-element-0d1058e .elementor-icon{font-size:20px;}.elementor-20 .elementor-element.elementor-element-0d1058e .elementor-icon svg{height:20px;}.elementor-20 .elementor-element.elementor-element-4eddbfd .elementor-icon-wrapper{text-align:center;}.elementor-20 .elementor-element.elementor-element-4eddbfd .elementor-icon{font-size:20px;}.elementor-20 .elementor-element.elementor-element-4eddbfd .elementor-icon svg{height:20px;}.elementor-20 .elementor-element.elementor-element-7aa9b24 .elementor-icon-wrapper{text-align:center;}.elementor-20 .elementor-element.elementor-element-7aa9b24 .elementor-icon{font-size:20px;}.elementor-20 .elementor-element.elementor-element-7aa9b24 .elementor-icon svg{height:20px;}.elementor-20 .elementor-element.elementor-element-e7ac19e{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-end;--align-items:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;}.elementor-20 .elementor-element.elementor-element-ee4edd0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-20 .elementor-element.elementor-element-1e571e2 .elementor-button-content-wrapper{flex-direction:row-reverse;}.elementor-20 .elementor-element.elementor-element-910480c{--display:flex;--position:absolute;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;top:0px;--z-index:20;}.elementor-20 .elementor-element.elementor-element-910480c:not(.elementor-motion-effects-element-type-background), .elementor-20 .elementor-element.elementor-element-910480c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-45c4851 );}body:not(.rtl) .elementor-20 .elementor-element.elementor-element-910480c{left:0px;}body.rtl .elementor-20 .elementor-element.elementor-element-910480c{right:0px;}.elementor-20 .elementor-element.elementor-element-3ccef1b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20 .elementor-element.elementor-element-42de2d6 .elementor-button-content-wrapper{flex-direction:row-reverse;}.elementor-20 .elementor-element.elementor-element-863d71f{--display:flex;--position:absolute;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;top:0px;--z-index:1;}.elementor-20 .elementor-element.elementor-element-863d71f:not(.elementor-motion-effects-element-type-background), .elementor-20 .elementor-element.elementor-element-863d71f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-45c4851 );}body:not(.rtl) .elementor-20 .elementor-element.elementor-element-863d71f{left:0px;}body.rtl .elementor-20 .elementor-element.elementor-element-863d71f{right:0px;}.elementor-20 .elementor-element.elementor-element-977c0e5{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:nowrap;--overflow:hidden;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--z-index:0;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-20 .elementor-element.elementor-element-81c7399{--grid-columns:1;--grid-row-gap:35px;}.elementor-20 .elementor-element.elementor-element-8d7c706{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--padding-top:32px;--padding-bottom:32px;--padding-left:32px;--padding-right:32px;}.elementor-20 .elementor-element.elementor-element-e662cee{--display:flex;}@media(min-width:768px){.elementor-20 .elementor-element.elementor-element-7eb6c79{--content-width:1200px;}.elementor-20 .elementor-element.elementor-element-e7ac19e{--width:auto;}.elementor-20 .elementor-element.elementor-element-ee4edd0{--width:auto;}.elementor-20 .elementor-element.elementor-element-910480c{--width:190px;}.elementor-20 .elementor-element.elementor-element-3ccef1b{--width:auto;}.elementor-20 .elementor-element.elementor-element-863d71f{--width:190px;}}@media(max-width:1024px){.elementor-20 .elementor-element.elementor-element-d5e07cd{width:100%;max-width:100%;}.elementor-20 .elementor-element.elementor-element-7eb6c79{--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:40px;--padding-bottom:40px;--padding-left:40px;--padding-right:40px;}.elementor-20 .elementor-element.elementor-element-1eb1ca3{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-20 .elementor-element.elementor-element-977c0e5{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-20 .elementor-element.elementor-element-81c7399{--grid-columns:3;--grid-row-gap:30px;--grid-column-gap:20px;}}@media(max-width:767px){.elementor-20 .elementor-element.elementor-element-df05ad4 .elementor-heading-title{font-size:24px;line-height:1em;}.elementor-20 .elementor-element.elementor-element-d5e07cd{font-size:15px;}.elementor-20 .elementor-element.elementor-element-7eb6c79{--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-20 .elementor-element.elementor-element-1eb1ca3{--gap:8px 8px;--row-gap:8px;--column-gap:8px;--flex-wrap:nowrap;}.elementor-20 .elementor-element.elementor-element-fd59d2c{--width:48px;}.elementor-20 .elementor-element.elementor-element-e7ac19e{--width:auto;--gap:8px 8px;--row-gap:8px;--column-gap:8px;}.elementor-20 .elementor-element.elementor-element-977c0e5{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-20 .elementor-element.elementor-element-81c7399{--grid-columns:1;}}/* Start custom CSS for container, class: .elementor-element-fd59d2c */.elementor-20 .elementor-element.elementor-element-fd59d2c{
    min-width: 48px;
    
}/* End custom CSS */
/* Start custom CSS for loop-grid, class: .elementor-element-81c7399 */.news-layout-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    transition: transform 0.5s cubic-bezier(.65, 0, .35, 1);
}

.news-layout-container > .news-assets-loop,
.news-layout-container > .news-assets-loop-card-style {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-7eb6c79 */.e-con.news-impact-section{min-height:100vh}
@media (max-width:1024px){.e-con.news-impact-section{min-height:80vh}}
@media (max-width:767px){.e-con.news-impact-section{min-height:60vh}}
.news-impact-empty{
  display:none; width:100%; padding:80px 16px; text-align:center;
  color:#6b7b88; font-size:16px;
}
.news-impact-empty.is-visible{display:block}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-70b12ce */.elementor-20 .elementor-element.elementor-element-70b12ce {
    display: none;
}/* End custom CSS */
/* Start custom CSS *//* ============================================================
   NEWS & IMPACT — filter bar + loop grid  (combined)
   ============================================================
   Load order matters: the bar defines the --ni-* variables the
   grid styles reuse, and the grid script listens for the
   'news-impact:change' event the bar script emits. So the bar
   blocks below come FIRST in both this <style> and the <script>.
   ============================================================ */

/* ============================================================
   SECTION 1 — FILTER BAR
   ============================================================ */
.e-con.news-impact-filter-bar{
  --ni-primary:#529FC5;
  --ni-primary-strong:#2f7fa6;
  --ni-primary-soft:rgba(82,159,197,.14);
  --ni-secondary:#F2994A;
  --ni-surface:#ffffff; --ni-text:#1d2733; --ni-muted:#6b7b88; --ni-border:#d9e2ea;
  --ni-shadow:0 12px 30px rgba(29,39,51,.14);
  display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center;
  gap:10px; width:100%; position:relative;
}

/* ---------- Search pill ---------- */
.e-con.news-impact-search{
  flex:1 1 auto; flex-direction:row; flex-wrap:nowrap; align-items:center;
  gap:0 !important; width:auto; min-width:0; max-width:none;
  height:48px; min-height:48px;
  padding:0 6px 0 4px !important;
  background:var(--ni-surface) !important; border:1.5px solid var(--ni-border); border-radius:999px;
  transition:border-color .15s, box-shadow .15s;
}
.e-con.news-impact-search:focus-within{
  border-color:var(--ni-primary); box-shadow:0 0 0 4px var(--ni-primary-soft);
}
.news-impact-search > .elementor-widget{margin:0 !important; width:auto; flex:0 0 auto}

/* shared icon base */
.news-impact-search-icon .elementor-icon,
.news-impact-search-clear .elementor-icon,
.news-impact-search-close .elementor-icon{
  display:grid; place-items:center; line-height:1; border-radius:50%;
  color:var(--ni-muted); cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:background .15s, color .15s, transform .1s;
}
.news-impact-search-icon .elementor-icon i,
.news-impact-search-clear .elementor-icon i,
.news-impact-search-close .elementor-icon i{font-size:inherit; line-height:1}
.news-impact-search-icon svg,
.news-impact-search-clear svg,
.news-impact-search-close svg{width:1em; height:1em; fill:currentColor}

/* search icon (brand primary) */
.news-impact-search-icon .elementor-icon{width:40px; height:40px; font-size:19px; cursor:default; color:var(--ni-primary)}

/* CLEAR (x inside a soft circle) */
.news-impact-search-clear{margin:0 4px 0 2px !important}
.news-impact-search-clear .elementor-icon{
  width:26px; height:26px; font-size:12px;
  background:var(--ni-border); color:var(--ni-muted);
}
.news-impact-search-clear .elementor-icon:hover{background:var(--ni-primary); color:#fff}
.news-impact-search-clear .elementor-icon:active{transform:scale(.9)}

/* CLOSE (mobile only) */
.news-impact-search-close .elementor-icon{width:40px; height:40px; font-size:18px}
.news-impact-search-close .elementor-icon:hover{background:var(--ni-primary-soft); color:var(--ni-primary-strong)}
.news-impact-search-close .elementor-icon:active{transform:scale(.92)}

.news-impact-search-clear,
.news-impact-search-close{display:none !important}
.news-impact-filter-bar.has-text .news-impact-search-clear{display:block !important}

/* input (HTML widget) */
.news-impact-search > .news-impact-search-input-widget{flex:1 1 auto; min-width:0; height:100%}
.news-impact-search-input-widget .elementor-widget-container{height:100%}
input.news-impact-search-input{
  width:100%; height:46px; padding:0 4px; margin:0;
  border:0 !important; outline:0 !important; box-shadow:none !important;
  background:transparent !important; color:var(--ni-text);
  font:inherit; font-size:15px; -webkit-appearance:none; appearance:none;
}
input.news-impact-search-input::placeholder{color:var(--ni-muted); opacity:1}
input.news-impact-search-input::-webkit-search-cancel-button{-webkit-appearance:none; display:none}

/* ---------- Filters row ---------- */
.e-con.news-impact-filters{
  flex:0 0 auto; flex-direction:row; flex-wrap:nowrap; align-items:center;
  gap:10px !important; width:auto; min-width:0; padding:0 !important;
}
.e-con.news-impact-type-dropdown,
.e-con.news-impact-sort-dropdown{
  position:relative; width:auto; min-width:0; height:auto;
  padding:0 !important; gap:0 !important; overflow:visible;
}

/* dropdown buttons */
.news-impact-type-button,
.news-impact-sort-button{margin:0 !important; width:auto}
.elementor .news-impact-type-button .elementor-button,
.elementor .news-impact-sort-button .elementor-button{
  display:inline-flex; align-items:center; gap:8px;
  height:48px; padding:0 16px; border-radius:14px;
  background:var(--ni-surface); color:var(--ni-text);
  border:1.5px solid var(--ni-border); box-shadow:none;
  font-size:15px; font-weight:500; line-height:1; white-space:nowrap;
  transition:border-color .15s, background .15s, color .15s;
  -webkit-tap-highlight-color:transparent;
}
.elementor .news-impact-type-button .elementor-button:hover,
.elementor .news-impact-sort-button .elementor-button:hover{
  border-color:var(--ni-primary); background:var(--ni-surface); color:var(--ni-text);
}
.elementor .news-impact-type-button .elementor-button:focus-visible,
.elementor .news-impact-sort-button .elementor-button:focus-visible{
  outline:3px solid var(--ni-primary-soft); border-color:var(--ni-primary);
}
.news-impact-type-button .elementor-button-icon,
.news-impact-sort-button .elementor-button-icon{color:var(--ni-primary)}

/* chevron */
.elementor .news-impact-type-button .elementor-button::after,
.elementor .news-impact-sort-button .elementor-button::after{
  content:""; flex:0 0 auto; width:7px; height:7px; margin:-3px 0 0 4px;
  border-right:2px solid var(--ni-muted); border-bottom:2px solid var(--ni-muted);
  transform:rotate(45deg); transition:transform .2s;
}
.news-impact-type-dropdown.is-open .news-impact-type-button .elementor-button,
.news-impact-sort-dropdown.is-open .news-impact-sort-button .elementor-button{border-color:var(--ni-primary)}
.news-impact-type-dropdown.is-open .news-impact-type-button .elementor-button::after,
.news-impact-sort-dropdown.is-open .news-impact-sort-button .elementor-button::after{
  transform:rotate(225deg); margin-top:3px;
}

/* a type is chosen */
.elementor .news-impact-type-dropdown.is-active .news-impact-type-button .elementor-button{
  background:var(--ni-primary-soft); border-color:var(--ni-primary); color:var(--ni-primary-strong);
}

/* ---------- Menus: always directly BELOW their button ---------- */
.e-con.news-impact-type-menu,
.e-con.news-impact-sort-menu{
  display:none !important; flex-direction:column; flex-wrap:nowrap; align-items:stretch;
  position:absolute !important; top:calc(100% + 8px) !important; bottom:auto !important;
  right:0 !important; left:auto !important; transform:none;
  width:max-content !important; min-width:200px; max-width:calc(100vw - 24px);
  height:auto !important; margin:0 !important;
  padding:6px !important; gap:2px !important;
  background:var(--ni-surface) !important; border:1px solid var(--ni-border) !important;
  border-radius:16px; box-shadow:var(--ni-shadow);
}
.news-impact-type-dropdown.is-open > .news-impact-type-menu,
.news-impact-sort-dropdown.is-open > .news-impact-sort-menu{
  display:flex !important; animation:ni-pop .14s ease-out;
}
@keyframes ni-pop{from{opacity:0; margin-top:-4px} to{opacity:1; margin-top:0}}

/* ---------- Options (buttons inside each menu) ---------- */
.news-impact-type-option,
.news-impact-sort-option{width:100%; margin:0 !important}
.elementor .news-impact-type-option .elementor-button,
.elementor .news-impact-sort-option .elementor-button{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  width:100%; min-height:42px; padding:10px 14px;
  border:0; border-radius:10px; box-shadow:none;
  background:transparent; color:var(--ni-text);
  font-size:14px; font-weight:500; line-height:1.25; text-align:left; white-space:nowrap;
  transition:background .15s, color .15s;
  -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
.news-impact-type-option .elementor-button-content-wrapper,
.news-impact-sort-option .elementor-button-content-wrapper{justify-content:flex-start}
.elementor .news-impact-type-option .elementor-button:hover,
.elementor .news-impact-sort-option .elementor-button:hover,
.elementor .news-impact-type-option .elementor-button:focus-visible,
.elementor .news-impact-sort-option .elementor-button:focus-visible{
  background:var(--ni-primary-soft); color:var(--ni-text); outline:0;
}
.elementor .news-impact-type-option .elementor-button:active,
.elementor .news-impact-sort-option .elementor-button:active{background:var(--ni-primary-soft); transform:scale(.99)}

/* selected option: soft primary background, strong text, orange check */
.elementor .news-impact-type-option.is-selected .elementor-button,
.elementor .news-impact-sort-option.is-selected .elementor-button{
  background:var(--ni-primary-soft); color:var(--ni-primary-strong); font-weight:600;
}
.news-impact-type-option.is-selected .elementor-button::after,
.news-impact-sort-option.is-selected .elementor-button::after{
  content:""; flex:0 0 auto; width:5px; height:10px; margin:-2px 2px 0 0;
  border-right:2.5px solid var(--ni-secondary); border-bottom:2.5px solid var(--ni-secondary);
  transform:rotate(40deg);
}

/* ===== TABLET PATCH (<= 1024px): filters become icon buttons ===== */
@media (max-width:1024px){
  .elementor .news-impact-type-button .elementor-button,
  .elementor .news-impact-sort-button .elementor-button{
    width:48px; min-width:48px; padding:0; justify-content:center; gap:0;
  }
  .news-impact-type-button .elementor-button-text,
  .news-impact-sort-button .elementor-button-text,
  .news-impact-type-button .elementor-button-icon,
  .news-impact-sort-button .elementor-button-icon{display:none !important}

  /* replace the chevron with a mask icon */
  .elementor .news-impact-type-button .elementor-button::after,
  .elementor .news-impact-sort-button .elementor-button::after{
    width:20px; height:20px; margin:0 !important; border:0; transform:none !important;
    background:var(--ni-primary);
    -webkit-mask:var(--ni-icon) center/contain no-repeat;
            mask:var(--ni-icon) center/contain no-repeat;
  }
  .elementor .news-impact-type-button .elementor-button{
    --ni-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18l-7 8v6l-4-2v-4z'/%3E%3C/svg%3E");
  }
  .elementor .news-impact-sort-button .elementor-button{
    --ni-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M7 20l-3-3M7 20l3-3M17 20V4M17 4l-3 3M17 4l3 3'/%3E%3C/svg%3E");
  }
  .elementor .news-impact-type-dropdown.is-active .news-impact-type-button .elementor-button::after{
    background:var(--ni-primary-strong);
  }

  /* slightly larger tap targets for touch tablets */
  .elementor .news-impact-type-option .elementor-button,
  .elementor .news-impact-sort-option .elementor-button{min-height:46px; font-size:15px}
}

/* ===== MOBILE (<= 767px): search collapses to an icon ===== */
@media (max-width:767px){
  .e-con.news-impact-filter-bar{flex-direction:row !important; flex-wrap:nowrap !important; justify-content:space-between}

  .e-con.news-impact-search{
    flex:0 0 48px; width:48px; min-width:48px; padding:0 !important;
    justify-content:center; cursor:pointer;
  }
  .news-impact-search > .news-impact-search-input-widget,
  .news-impact-filter-bar.has-text .news-impact-search-clear{display:none !important}
  .news-impact-search-icon .elementor-icon{cursor:pointer; width:44px; height:44px; font-size:20px}
  .e-con.news-impact-filters{margin-left:auto; flex:0 0 auto}

  /* icon-only filter buttons */
  .elementor .news-impact-type-button .elementor-button,
  .elementor .news-impact-sort-button .elementor-button{
    width:48px; min-width:48px; padding:0; justify-content:center; gap:0;
  }
  .news-impact-type-button .elementor-button-text,
  .news-impact-sort-button .elementor-button-text,
  .news-impact-type-button .elementor-button-icon,
  .news-impact-sort-button .elementor-button-icon{display:none !important}
  .elementor .news-impact-type-button .elementor-button::after,
  .elementor .news-impact-sort-button .elementor-button::after{
    width:20px; height:20px; margin:0 !important; border:0; transform:none !important;
    background:var(--ni-primary);
    -webkit-mask:var(--ni-icon) center/contain no-repeat;
            mask:var(--ni-icon) center/contain no-repeat;
  }
  .elementor .news-impact-type-button .elementor-button{
    --ni-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18l-7 8v6l-4-2v-4z'/%3E%3C/svg%3E");
  }
  .elementor .news-impact-sort-button .elementor-button{
    --ni-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M7 20l-3-3M7 20l3-3M17 20V4M17 4l-3 3M17 4l3 3'/%3E%3C/svg%3E");
  }
  .elementor .news-impact-type-dropdown.is-active .news-impact-type-button .elementor-button::after{background:var(--ni-primary-strong)}

  /* Menus anchor to the whole bar so they cannot leave the screen */
  .e-con.news-impact-filters,
  .e-con.news-impact-type-dropdown,
  .e-con.news-impact-sort-dropdown{position:static !important}

  .e-con.news-impact-filter-bar{
    --ni-btn-size:48px;      /* must match the icon button width above */
    --ni-btn-gap:10px;       /* must match the gap in .news-impact-filters */
    --ni-menu-width:260px;   /* menu width, tweak to taste */
    --ni-menu-top-gap:2px;   /* distance below the buttons */
  }

  .e-con.news-impact-type-menu,
  .e-con.news-impact-sort-menu{
    top:calc(100% + var(--ni-menu-top-gap)) !important;
    left:auto !important;
    min-width:0; max-width:none;
    box-sizing:border-box;
  }
  .e-con.news-impact-sort-menu{
    right:0 !important;
    width:min(var(--ni-menu-width), 100%) !important;
  }
  .e-con.news-impact-type-menu{
    right:calc(var(--ni-btn-size) + var(--ni-btn-gap)) !important;
    width:min(var(--ni-menu-width), calc(100% - var(--ni-btn-size) - var(--ni-btn-gap))) !important;
  }

  /* bigger tap targets */
  .elementor .news-impact-type-option .elementor-button,
  .elementor .news-impact-sort-option .elementor-button{min-height:48px; font-size:15px}

  /* expanded search state */
  .news-impact-filter-bar.is-searching .news-impact-filters{display:none !important}
  .e-con.news-impact-filter-bar.is-searching .news-impact-search{
    flex:1 1 100%; width:auto; padding:0 6px 0 4px !important;
    justify-content:flex-start; cursor:text;
  }
  .news-impact-filter-bar.is-searching .news-impact-search > .news-impact-search-input-widget{display:block !important}
  .news-impact-filter-bar.is-searching.has-text .news-impact-search-clear{display:block !important}
  .news-impact-filter-bar.is-searching .news-impact-search-close{display:block !important}
  .news-impact-search-icon .elementor-icon{flex:0 0 auto}

  /* 16px stops iOS Safari zooming the page when the input is focused */
  input.news-impact-search-input{font-size:16px}
}


/* ============================================================
   SECTION 2 — LOOP GRID
   Server-side filter / sort / search + View More.
   Reuses the --ni-* variables from the bar above.
   ============================================================ */

/* Before the grid script runs, hide the extra "look-ahead" card.
   The server sends PAGE_SIZE + 1 = 13 cards, so hide the 13th onward.
   Keep 13 here = PAGE_SIZE (12) + 1 in the grid script. */
.news-impact-loop-grid:not(.ni-ready) .e-loop-item:nth-of-type(n+13){display:none !important}

/* grid loading state (filter / search / sort changes) */
.news-impact-loop-grid{position:relative}
.news-impact-loop-grid .elementor-loop-container{transition:opacity .15s}
.news-impact-loop-grid.ni-loading .elementor-loop-container{opacity:.4; pointer-events:none}
.news-impact-loop-grid.ni-loading::after{
  content:""; position:absolute; top:48px; left:50%; width:32px; height:32px; margin-left:-16px;
  border:3px solid rgba(82,159,197,.25); border-top-color:#529FC5; border-radius:50%;
  animation:ni-spin .7s linear infinite; z-index:5;
}
@keyframes ni-spin{to{transform:rotate(360deg)}}

/* empty / error message */
.news-impact-empty{
  display:none; width:100%; padding:48px 16px; text-align:center;
  color:#6b7b88; font-size:16px;
}
.news-impact-empty.is-visible{display:block}

/* ---------- View More News button ---------- */
.news-impact-more-wrap:not(.ni-has-more),
.news-impact-view-more:not(.ni-has-more){display:none !important}

.elementor .news-impact-view-more .elementor-button{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 40px; min-height:48px;
  background:#ffffff; color:#1d2733;
  border:1px solid #9aa7b2; border-radius:12px; box-shadow:none;
  font-size:16px; font-weight:400; line-height:1;
  transition:border-color .15s, color .15s, background .15s, transform .1s;
  -webkit-tap-highlight-color:transparent;
}
.elementor .news-impact-view-more .elementor-button:hover,
.elementor .news-impact-view-more .elementor-button:focus-visible{
  background:#ffffff; color:#2f7fa6; border-color:#529FC5;
}
.elementor .news-impact-view-more .elementor-button:focus-visible{
  outline:3px solid rgba(82,159,197,.14);
}
.elementor .news-impact-view-more .elementor-button:active{transform:scale(.98)}

/* spinner inside the button while loading */
.elementor .news-impact-view-more.is-loading .elementor-button{pointer-events:none; opacity:.85}
.elementor .news-impact-view-more.is-loading .elementor-button::before{
  content:""; flex:0 0 auto; width:16px; height:16px;
  border:2px solid rgba(82,159,197,.25); border-top-color:#529FC5; border-radius:50%;
  animation:ni-spin .7s linear infinite;
}/* End custom CSS */