* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2{
  font-size: 16px;
}

.content-wrapper {
  width: 100%;
  flex-direction: column;
  margin: 0;
  padding: 0;
  display: flex;

}






/*
#text-article-box-section-noexcerpt {
  display: flex;
  flex-direction: column;
}*/

.article-box {
  a {
    text-decoration: none;
    color: black;
  }
}

.text-article-box {
  h3 {
    font-size: 17px;
  }
}

.img-article-box {
  display: flex;
  flex-direction: row;

  @media only screen and (max-width:1120px) {
      flex-direction: column;
  }
  
}
/*
#article-boxes-with-images-section {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 50%;
  gap: 30px;
}*/

/* General layout */
#distributor-top-section {
  display: flex;
  gap: 20px;
  height: 100%;
  padding-bottom: 15px;

  @media only screen and (max-width:1120px) {
      flex-direction: column;
  }

}

/* Top Section: columnas */
#top-article-box {

  display: flex;
  flex-direction: column;
  margin-bottom: 16px;

  @media only screen and (min-width:1120px) {
      width: 50%;
  }

}

#text-article-box-section-noexcerpt {
  @media only screen and (min-width:1120px) {
    width: 25%;
  }
  /*display: flex;
  flex-direction: column;
  gap: 50px;
  height: 100%;*/
}

#right-column {
  @media only screen and (min-width:1120px) {
    width: 25%;
  }

  display: flex;
  /*justify-content: center;*/
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
}

/* Top Article Box */
.top-article-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-article-box img {
  width: 100%;
  height: auto;
}

/* Text Article Boxes */
.text-article-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: inherit;
  justify-content: space-between;
  border-bottom: solid 1px #ddd;
  padding: 10px 0;

}

.text-article-box h3 {
  font-size: 22px;
  margin: 0 0 5px;
}

.article-cta {
  color: #0073e6;
  font-weight: bold;
  font-size: 16px;
  margin-top: 5px;
}

/* Middle Section */
.article-boxes-with-images-section {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 30px 20px;

  @media only screen and (min-width: 1120px) {
    flex-wrap: wrap;
    height: 300px;
  }


  @media only screen and (max-width: 1120px) {
    flex-direction: column;
  }

}

/* Cada article-box con imagen */
.article-box-image {
  width: 48%;
  height: 100%;

  @media only screen and (max-width: 1120px) {
    width: 100%;
    height: auto;
  }

  h3 {
    font-size: 22px;
  }

  p {
    font-size: 12px;
  }

}

.img-article-box {
  display: flex;
  height: 250px;
  
  @media only screen and (max-width: 1120px) {
    height: auto;
  }
}

.image-article-box-content {
  width: 45%;
  height: 100%;
  justify-content: space-between;
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  
  @media only screen and (max-width: 1120px) {
    width: var(--general-width-mob);
  }

}

.image-article-box-content h3 {
  font-size: 22px;
  line-height: 1.2;
  max-height: calc(1.2em * 3); /* 3 líneas de texto */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* número de líneas */
  -webkit-box-orient: vertical;
}

.img-article-box img {
  object-fit: cover;
  max-width: 300px;
  max-height: 250px;
  display: block;
}

.article-box-img {

  @media only screen and (max-width: 1120px) {
    margin: auto;
    width: var(--general-width-mob);
  }
}

.article-box-excerpt p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: calc(1.4em * 3);
  font-size: 12px;
}

/*
.read-more {
  display: inline;
  margin-top: 5px;
  color: blue;
  text-decoration: underline;
}
  */

.article-boxes-text-section {
  display: grid;
  justify-content: space-between;  
  
  @media only screen and (min-width: 1120px) {
    gap: 30px 20px;
    height: 325px;  
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
  }

}

#load-more-articles {
  background-color: var(--excerpt-bg);
  color: white;
  text-align: center;
  width: 146px;
  height: 44px;
  line-height: 44px;
  border-radius: 35px;
  align-self: center;
  margin: 50px 0;
  cursor: pointer;

  @media only screen and (max-width: 1120px) {
    margin: 20px 0 40px 0;
  }
}

.article-box-text-only {
  height: 100%;
}

#sub-articles-section {
  max-width: var(--general-width);
  margin: auto;
}

#sub-articles-section-bg {
  background-color: #F8F8F8;
  width: 99.5vw;
  margin-left: calc(-50vw + 50%);
  
  @media only screen and (max-width: 1120px) {
    padding-bottom: 20px;
  }
}

#quote-container {
  height: 450px;

  @media only screen and (max-width: 1120px) {
    height: 482px;
    width: 390px;
  }
  
}


#quote-container-content {
  top: 100px;
  position: relative;
  background-color: var(--light-bg);
  height: 283px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  @media only screen and (max-width: 1120px) {
    flex-direction: column;
    top: 274px;
  }
}

#quote-text {
  margin: 50px 100px;
  flex-direction: column;
  display: flex;

  @media only screen and (max-width: 1120px) {
    margin: auto;
  }
}

#quote-phrase {
  font-size: 36px;
  line-height: 120%;
  font-style: italic;
  font-weight: bold;
  color: black;
  margin-bottom: 30px;

  @media only screen and (max-width: 1120px) {
    font-size: 24px;
  }

  
}

#quote-author {
  font-size: 25px;
  line-height: 44px;
  text-align: right;
}

#quotation-marks {
  position: relative;
  left: 100px;
  top: 60px;
  font-size: 175px;
  color: var(--excerpt-bg);
  height: 30px;
  z-index: 9999;
  font-weight: 700;

  @media only screen and (max-width: 1120px) {
    left: 20px; 
    font-size: 120px;
  }
  
}

#quote-image {
  right: 50px;
  object-fit: contain;

    /*
  @media only screen and (max-width: 1120px) {
    position: relative;
    right: 45px;
    bottom: 57px;
  } */
  
}

#quote-image-obj {
  height: 396px;
  width: 357px;
  
  position: relative;
  right: 45px;
  bottom: 57px;

  @media only screen and (max-width: 1120px) {
    height: 274px;
    width: 247px;

    position: relative;
  
    /*top: -277px;
    right: 150px;
    */
  }
}

/* right column banner */
.provider-banner-container {

   @media only screen and (max-width:1120px) {
      margin: auto;
  }
  
}

/* trading view widget */
.tradingview-widget-container {

  @media only screen and (max-width:1120px) {
      margin: auto;
  }

}



