.anx_ai_article_summary_wrapper {
  border: 1px solid #dadce0;
  box-sizing: border-box;
  position: relative;
  border-radius: 12px;
  /*padding: 25px 25px 0px 25px;*/
  margin: 20px auto 30px;
   
  width: 100%;
  background-color: #f7f7f7;
  /*box-shadow: 0 1px 6px rgba(32,33,36,0.1);*/
}

.anx_ai_article_summary_content_mask {
  max-height: 115px; /* Adjust based on desired initial lines */
  padding: 25px 25px 0px 25px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Apply the fade ONLY to this container */
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.anx_ai_article_summary_content {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 28px;
  /*line-height: 1.58;*/
  /*color: #3c4043;*/
}
.anx_ai_article_summary_content {

}
.anx_ai_summary_footer{
  box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: block;
    overflow: hidden;
    padding: 15px 0px 35px;
    text-align: center;

}
.anx_ai_article_summary_footer_icon{
    position: absolute;
    float: right;
    right: 25px;
    top: 25px;
    width: 35px;
}
.anx_ai_article_summary_footer_sponsor{
    position: absolute;
    float: left;
    left: 25px;
    top: 25px;
    font-size: 14px;
    color: #aaa;
    line-height: 18px;
    text-align: left;

}
.anx_ai_article_summary_footer_sponsor a{

}
.anx_ai_article_summary_footer_sponsor_logo{
    display: block;
    float: left;
    clear: both;
    width:35px;
}
.anx_ai_article_summary_footer_sponsor_msg{
    display: block;
    float: left;
    padding-left:5px;
}
.anx_ai_article_summary_footer_sponsor span.anx_ai_article_summary_footer_sponsor_name{
    text-decoration: underline;
    cursor: pointer;
}
.anx_ai_article_summary_footer_sponsor .anx_ai_article_summary_footer_sponsor_link{
    text-decoration: underline;
    cursor: pointer;
    color:#aaa;
}
.anx_ai_article_summary_heading{
    position: relative;
    font-size: 24px;
    border-radius: 10px 10px 0px 0px;
    background-color: #777;
    color:#fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 5px;

}

.anx_ai_summary_heading_logo{
    width: 55px;
    float: left;
    top: 8px;
    left: 15px;
    position: absolute;
}


/* Expanded State Styles */
.anx_ai_article_summary_expanded .anx_ai_article_summary_content_mask {
  max-height: 1000px; /* Large value to accommodate full text */
  -webkit-mask-image: none;
  mask-image: none;
}

.anx_ai_article_summary_expand_btn {
    display: block;
    /* align-items: center; */
    text-align: center;
    position: relative;
    /* gap: 0px; */
    background: none;
    border: none;
    color: #f26522;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    top: 10px;
    margin: 0 auto;
    padding: 0px;
}

.anx_ai_article_summary_wrapper .chevron {
  fill: #f26522;
  transition: transform 0.3s;
  position: relative;
  top: 6px;  
}

 .anx_ai_article_summary_expanded .chevron {
  transform: rotate(180deg);
}

hr.anx_ai_hr{
    margin: 0 auto;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

@media all and (max-width: 767px){
    .anx_ai_summary_footer{
        padding-bottom: 40px;
    }
    .anx_ai_article_summary_footer_sponsor{
        position: relative;
        display: inline-block;
        margin: 0 auto;
        float: none;
        left: -10px;
        right: 0;
        top: 10px;
     
    }   
    .anx_ai_article_summary_expand_btn{
        top:20px;
    }
    .anx_ai_article_summary_footer_icon{
        top: initial;
        bottom: 20px;
        right: 20px;
    }

}