/* Business News - glue between the (scoped) original template and the main site header/footer */
/* keep the template's own typography; only neutralise main-site Bootstrap 5 overrides */
.news-scope,.news-scope .bg-white{background-color:#fff!important}
.news-scope .page{overflow:hidden}

/* template navigation links (News Home / About / Country / Articles) */
.news-subnav{background:#fff;border-bottom:1px solid #e5e5e5}
.news-subnav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;flex-wrap:wrap}
.news-subnav>ul>li{position:relative}
.news-subnav a{display:block;padding:18px 30px;color:#4a4a4a;font-size:15px;font-weight:700;text-decoration:none;line-height:1.3}
.news-subnav>ul>li:hover>a,.news-subnav>ul>li.active>a{background:#4a4a4a;color:#fff}
.news-subnav li ul{display:none;position:absolute;left:0;top:100%;z-index:50;min-width:230px;background:#fff;border:1px solid #e5e5e5;box-shadow:0 6px 14px rgba(0,0,0,.1);text-align:left}
.news-subnav li:hover>ul,.news-subnav li:focus-within>ul{display:block}
.news-subnav li ul a{padding:9px 20px;font-weight:600;font-size:14px}
.news-subnav li ul a:hover{color:#49cc49}
@media (max-width:767px){.news-subnav a{padding:12px 16px}}

/* grid without isotope */
.news-scope .news-grid{display:flex;flex-wrap:wrap;text-align:left}
.news-scope .news-grid:before,.news-scope .news-grid:after{display:none}
.news-scope .news-item{margin-bottom:30px}
.news-scope .news-item .post-type-2{height:100%}
.news-scope .post-type-2 .img-block img{width:100%;height:220px;object-fit:cover}
.news-scope .news-empty{padding:40px 0;text-align:center}
.news-scope .news-more{margin-top:10px}
.news-scope .news-pager{list-style:none;padding:0;margin:20px 0 0;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.news-scope .news-pager a{display:block;padding:6px 14px;border:1px solid #ddd;color:#4a4a4a}
.news-scope .news-pager a.active,.news-scope .news-pager a:hover{background:#49cc49;border-color:#49cc49;color:#fff}

/* filter list on small screens (template toggles it with JS) */
.news-scope .isotope-filters-list.active{display:block}

/* forms / calendar / article body */
.news-scope .news-subscribe-msg{margin-top:8px;font-size:14px}
.news-scope .news-subscribe-msg.ok{color:#49cc49}
.news-scope .news-subscribe-msg.err{color:#d9534f}
.news-scope .rdc-prev,.news-scope .rdc-next{cursor:pointer}
.news-scope .rdc-table_date a{color:inherit;display:block}
.news-scope .rdc-table_date.news-has-articles{background:#49cc49;color:#fff;border-radius:50%}
.news-scope .rdc-table_date.news-has-articles a{color:#fff}
.news-scope .news-body{text-align:left}
.news-scope .news-body img{max-width:100%;height:auto}
.news-scope .news-body iframe{max-width:100%}
.news-scope .post-content{text-align:left}

/* main header is position:fixed -> push the news content below it (exact value set by js/news.js) */
.news-scope{padding-top:130px}
.news-scope .section-left-sidebar-type-1{margin-top:0}
.news-scope .range-50>*{margin-top:40px}
.news-scope .news-grid{margin-top:30px}

/* ---- modern refresh ---- */
/* nav bar: breathing room under the language switcher, pill links */
.news-scope{padding-top:150px}
.news-subnav{background:#fff;border-bottom:1px solid #eee;box-shadow:0 4px 14px rgba(0,0,0,.04);padding:10px 0;margin-top:14px}
.news-subnav>ul{gap:8px}
.news-subnav a{padding:10px 22px;border-radius:30px;font-size:14px;letter-spacing:.2px;transition:background .2s,color .2s}
.news-subnav>ul>li:hover>a,.news-subnav>ul>li.active>a{background:#49cc49;color:#fff}
.news-subnav li ul{top:calc(100% + 6px);border-radius:12px;border:1px solid #eee;padding:8px;box-shadow:0 12px 30px rgba(0,0,0,.12);max-height:70vh;overflow:auto}
.news-subnav li ul a{border-radius:8px;padding:8px 16px}
.news-subnav li ul a:hover{background:#f2fbf2;color:#2a9d2a}
.news-subnav li.has-sub:hover>ul:before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}

/* listing head: title on its own row, countries as wide wrapped pills */
.news-scope .news-listing-head{display:block;border-bottom:0;padding-bottom:6px}
.news-scope .news-listing-head h3{font-size:40px;padding:0 0 18px;margin:0;white-space:normal}
.news-scope .news-listing-head .isotope-filters{display:block;width:100%}
.news-scope .news-listing-head .isotope-filters-toggle{display:none}
.news-scope .news-listing-head .isotope-filters-list{display:flex;flex-wrap:wrap;gap:10px;position:static;float:none;margin:0;padding:0;min-width:0;background:none;box-shadow:none;border:0;text-align:left}
.news-scope .news-listing-head .isotope-filters-list>li{margin:0;padding:0;float:none}
.news-scope .news-listing-head .isotope-filters-list>li+li{margin:0}
.news-scope .news-listing-head .isotope-filters-list>li>a{display:block;padding:8px 20px;border:1px solid #e3e3e3;border-radius:30px;background:#fff;color:#4a4a4a;font-size:14px;font-weight:600;line-height:1.4;transition:all .2s}
.news-scope .news-listing-head .isotope-filters-list>li>a:after{display:none}
.news-scope .news-listing-head .isotope-filters-list>li>a:hover{border-color:#49cc49;color:#2a9d2a}
.news-scope .news-listing-head .isotope-filters-list>li>a.active{background:#49cc49;border-color:#49cc49;color:#fff}
.news-scope .news-grid{margin-top:34px;border-top:1px solid #eee;padding-top:34px}
.news-scope .news-listing-head .isotope-filters-list>li>a{height:auto!important;min-height:0!important;padding:8px 20px!important;line-height:1.4!important;display:block!important;border-radius:30px!important;background:#fff!important;color:#4a4a4a!important;border:1px solid #e3e3e3!important}
.news-scope .news-listing-head .isotope-filters-list>li>a:hover{border-color:#49cc49!important;color:#2a9d2a!important}
.news-scope .news-listing-head .isotope-filters-list>li>a.active{background:#49cc49!important;border-color:#49cc49!important;color:#fff!important}
.news-scope .news-listing-head .isotope-filters-list>li,.news-scope .news-listing-head .isotope-filters-list>li+li{margin:0!important;padding:0!important}
.news-scope .news-listing-head .isotope-filters-list{gap:10px 12px!important}
.news-scope .news-listing-head .isotope-filters-list{display:flex!important;flex-wrap:wrap!important}
.news-scope .news-listing-head .isotope-filters-list>li{display:block!important;float:none!important;width:auto!important}

/* gallery lightbox */
.news-lb{display:none;position:fixed;inset:0;z-index:100000;background:rgba(10,10,10,.92);align-items:center;justify-content:center}
.news-lb.open{display:flex}
.news-lb figure{margin:0;max-width:88vw;max-height:88vh;text-align:center}
.news-lb img{max-width:88vw;max-height:80vh;border-radius:6px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.news-lb figcaption{color:#ddd;margin-top:10px;font:14px/1.4 sans-serif}
.news-lb button{position:absolute;background:rgba(255,255,255,.12);border:0;color:#fff;cursor:pointer;border-radius:50%;transition:background .2s}
.news-lb button:hover{background:#49cc49}
.news-lb-close{top:18px;right:22px;width:44px;height:44px;font-size:28px;line-height:1}
.news-lb-nav{top:50%;width:48px;height:48px;margin-top:-24px;font-size:20px}
.news-lb-prev{left:20px}.news-lb-next{right:20px}
.news-lb.single .news-lb-nav,.news-lb.single .news-lb-count{display:none}
.news-lb-count{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#bbb;font:13px sans-serif}

/* Country dropdown: click/tap toggle; on small screens it floats under the bar instead of pushing links down */
.news-subnav li.has-sub.open>ul{display:block}
@media (max-width:767px){
  .news-subnav{position:relative}
  .news-subnav>ul>li.has-sub{position:static}
  .news-subnav li.has-sub>ul{position:absolute;left:12px;right:12px;top:calc(100% - 4px);min-width:0;max-height:60vh;border:1px solid #eee;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.18);z-index:1000}
  .news-subnav li.has-sub.open>ul{display:block}
}

/* hover opens the menu on devices with a mouse, at any width */
@media (hover:hover){.news-subnav li.has-sub:hover>ul{display:block}}

/* no gap between the Country link and its menu (a gap closes the hover menu before the mouse arrives) */
.news-subnav li ul{top:100%!important}
.news-subnav li.has-sub>ul{padding-top:8px}
@media (max-width:767px){.news-subnav li.has-sub>ul{top:calc(100% - 10px)!important}}
