/* Shared module cards outside component views. Skipped on landing by index.php. */
.sppb-addon-articles,
.ajax_posts,
.mod-articlesnews-horizontal,
.mod-articlesnews-vertical,
.menu-fav-article-card{
  --regos-module-text:var(--regos-text,#253044);
  --regos-module-muted:var(--regos-muted,#667085);
  --regos-module-soft:var(--regos-soft,#f5f7fa);
  --regos-module-border:var(--regos-border,#e1e7ef);
  --regos-module-accent:var(--regos-accent,#4d6b97);
  --regos-module-danger:var(--regos-danger,#951111);
  --regos-module-radius:var(--regos-radius-card,22px);
  --regos-module-radius-sm:var(--regos-radius-control,16px);
}

.sppb-addon-articles .row,
.sppb-addon-articles .sppb-row,
.ajax_posts .ajax-posts,
.mod-articlesnews-horizontal{
  align-items:stretch!important;
  row-gap:24px;
}

.sppb-addon-articles .row>[class*="col-"],
.sppb-addon-articles .sppb-row>[class*="col-"],
.sppb-addon-articles .sppb-row>[class*="sppb-col-"],
.ajax_posts .ajax-post{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

.sppb-addon-articles .sppb-addon-article,
.ajax_posts .ajax-post .inner,
.mod-articlesnews-horizontal>li,
.mod-articlesnews-vertical .newsflash-item{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  width:100%;
  height:auto;
  min-height:0;
  margin:0 0 24px;
  padding:0;
  overflow:visible;
  border:1px solid var(--regos-module-border);
  border-radius:var(--regos-module-radius);
  background:#fff;
  box-shadow:none;
  color:var(--regos-module-text);
  transition:border-color .18s ease,transform .18s ease,background-color .18s ease;
}

.sppb-addon-articles .sppb-addon-article:hover,
.ajax_posts .ajax-post .inner:hover,
.mod-articlesnews-horizontal>li:hover,
.mod-articlesnews-vertical .newsflash-item:hover{
  border-color:#cbd6e4;
  background:#fff;
  transform:translateY(-2px);
}

.sppb-addon-articles .sppb-article-img-wrap,
.ajax_posts .ajax-post .entry-image,
.ajax_posts .ajax-post .intro-image,
.mod-articlesnews-horizontal .newsflash-image,
.mod-articlesnews-vertical .newsflash-image{
  display:block;
  width:100%;
  height:auto!important;
  min-height:0!important;
  margin:0;
  overflow:hidden;
  border:0;
  border-radius:var(--regos-module-radius) var(--regos-module-radius) 0 0;
  background:var(--regos-module-soft);
  aspect-ratio:16/10;
}

.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap{
  height:auto!important;
  margin:0!important;
  border-radius:var(--regos-module-radius) var(--regos-module-radius) 0 0;
}

.sppb-addon-articles .sppb-article-img-wrap figure,
.ajax_posts .ajax-post .entry-image a,
.ajax_posts .ajax-post .intro-image a,
.mod-articlesnews-horizontal .newsflash-image,
.mod-articlesnews-vertical .newsflash-image{
  display:block;
  height:100%;
  margin:0;
}

.sppb-addon-articles .sppb-article-img-wrap img,
.ajax_posts .ajax-post .entry-image img,
.ajax_posts .ajax-post .intro-image img,
.mod-articlesnews-horizontal .newsflash-image img,
.mod-articlesnews-vertical .newsflash-image img{
  display:block;
  width:100%;
  height:100%;
  border-radius:0;
  object-fit:cover;
  object-position:center;
}

.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap img{
  border-radius:0;
}

.sppb-addon-articles .sppb-article-info-wrap,
.ajax_posts .ajax-post .inner>div:not(.article_style),
.mod-articlesnews-horizontal .newsflash-title,
.mod-articlesnews-vertical .newsflash-title{
  padding:18px;
}

.sppb-addon-articles .sppb-article-info-wrap{
  display:flex;
  flex:1 1 auto;
  width:100%;
  flex-direction:column;
  align-items:flex-start;
}

.ajax_posts .ajax-post .aga_heading,
.ajax_posts .ajax-post .item-intro,
.ajax_posts .ajax-post .article-info,
.ajax_posts .ajax-post .readmore{
  margin-right:18px!important;
  margin-left:18px!important;
}

.ajax_posts .ajax-post .aga_heading{
  margin-top:18px!important;
}

.ajax_posts .ajax-post .readmore{
  margin-bottom:18px;
}

.sppb-addon-articles .sppb-article-info-wrap h3,
.ajax_posts .ajax-post .aga_heading,
.mod-articlesnews-horizontal .newsflash-title,
.mod-articlesnews-vertical .newsflash-title{
  display:-webkit-box;
  min-height:2.64em;
  overflow:hidden;
  margin:0 0 12px!important;
  color:var(--regos-module-text);
  font-size:1.12rem!important;
  font-weight:750;
  line-height:1.32!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.sppb-addon-articles .sppb-article-info-wrap h3 a,
.ajax_posts .ajax-post .aga_heading a,
.mod-articlesnews-horizontal .newsflash-title a,
.mod-articlesnews-vertical .newsflash-title a{
  color:inherit;
  text-decoration:none;
}

.sppb-addon-articles .sppb-article-info-wrap h3 a:hover,
.ajax_posts .ajax-post .aga_heading a:hover,
.mod-articlesnews-horizontal .newsflash-title a:hover,
.mod-articlesnews-vertical .newsflash-title a:hover{
  color:var(--regos-module-accent);
}

.sppb-addon-articles .sppb-article-meta,
.ajax_posts .ajax-post .article-info{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  order:1;
  width:100%;
  margin:0 0 14px;
  color:var(--regos-module-muted);
}

.sppb-addon-articles .sppb-article-meta>time,
.sppb-addon-articles .sppb-article-meta>span,
.ajax_posts .ajax-post .article-info>dd{
  display:inline-flex;
  align-items:center;
  margin:0;
  color:var(--regos-module-muted)!important;
  font-size:.85rem;
  line-height:1.3;
}

.sppb-addon-articles .sppb-article-meta>span+span:before,
.sppb-addon-articles .sppb-article-meta>span:before{
  display:none;
}

.sppb-addon-articles .sppb-article-meta a,
.ajax_posts .ajax-post .article-info a{
  color:var(--regos-module-accent);
  font-weight:650;
  text-decoration:none;
}

.sppb-addon-articles .sppb-article-introtext,
.ajax_posts .ajax-post .item-intro{
  display:-webkit-box;
  order:3;
  min-height:4.95em;
  overflow:hidden;
  color:var(--regos-module-muted);
  font-size:.95rem!important;
  line-height:1.65!important;
  text-align:left;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.sppb-addon-articles .sppb-readmore,
.ajax_posts .ajax-post .readmore a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  margin-top:auto;
  padding:8px 14px;
  border:0!important;
  border-radius:999px!important;
  background:var(--regos-module-soft)!important;
  color:var(--regos-module-text)!important;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:0;
  line-height:1.2;
  text-decoration:none;
  text-transform:none;
}

.sppb-addon-articles .sppb-readmore:after,
.ajax_posts .ajax-post .readmore a:after{
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  content:"";
  transform:rotate(-45deg);
}

.sppb-addon-articles .sppb-readmore:hover,
.ajax_posts .ajax-post .readmore a:hover{
  background:#eef2f7!important;
  color:var(--regos-module-danger)!important;
}

.menu-fav-articles .menu-fav-article-list{
  display:block;
  margin:0!important;
  row-gap:0!important;
}

.menu-fav-article-card{
  display:flex;
  align-items:center;
  width:min(100%,360px);
  max-width:360px;
  margin:0 0 10px;
  padding:10px;
  overflow:hidden;
  border:1px solid var(--regos-module-border);
  border-radius:var(--regos-module-radius-sm);
  background:var(--regos-module-soft);
  transition:background-color .18s ease,border-color .18s ease;
}

.menu-fav-article-card:hover{
  border-color:#cbd6e4;
  background:#eef2f7;
}

.menu-fav-article-link,
.menu-fav-article-content{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  color:inherit;
  text-decoration:none;
}

.menu-fav-article-image{
  flex:0 0 48px;
  width:48px;
  height:48px;
  overflow:hidden;
  border-radius:10px;
  background:#e8edf3;
}

.menu-fav-article-image figure{
  height:100%;
  margin:0;
}

.menu-fav-article-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.menu-fav-article-text{
  flex:1 1 auto;
  min-width:0;
  padding:0 8px;
}

.menu-fav-article-title{
  overflow:hidden;
  color:var(--regos-module-text);
  font-size:.84rem;
  font-weight:700;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.menu-fav-article-intro{
  overflow:hidden;
  margin-top:3px;
  color:var(--regos-module-muted);
  font-size:.7rem;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.menu-fav-article-arrow{
  flex:0 0 auto;
  color:var(--regos-module-danger);
  font-size:.78rem;
  line-height:1;
}

@media(max-width:575.98px){
  .sppb-addon-articles .sppb-addon-article,
  .ajax_posts .ajax-post .inner,
  .mod-articlesnews-horizontal>li,
  .mod-articlesnews-vertical .newsflash-item{
    margin-bottom:18px;
    border-radius:18px;
  }

  .sppb-addon-articles .sppb-article-info-wrap,
  .ajax_posts .ajax-post .inner>div:not(.article_style){
    padding:16px;
  }

  .sppb-addon-articles .sppb-article-info-wrap h3,
  .ajax_posts .ajax-post .aga_heading,
  .mod-articlesnews-horizontal .newsflash-title,
  .mod-articlesnews-vertical .newsflash-title{
    font-size:1.05rem!important;
  }
}
