/* /////////////////////////////////////////////////////////////////////////////////
//
//  TAGS SECTION WITH ONLY 2 LINES OF TAGS AND 4 ON MOBILE
//
///////////////////////////////////////////////////////////////////////////////// */

.template-hh .tags.tags-home {
  display: block;
  border-top: none;
  border-bottom: none;
}

.template-hh .tags.tags-home ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.5rem; /* spacing between items */
  max-height: calc(2 * 2.9em); /* 2 rows, assuming ~2.5em line height */
  overflow: hidden;
}

@media screen and (max-width: 680px) {
  .template-hh .tags.tags-home ul {
    max-height: calc(4 * 2.9em); /* 2 rows, assuming ~2.5em line height */
  }
}

.template-hh .tags.tags-home ul li {
  white-space: nowrap;
  list-style: none;
}

/* /////////////////////////////////////////////////////////////////////////////////
//
//  OPINION PARAGRAPHS LINE UP TO 7
//
///////////////////////////////////////////////////////////////////////////////// */

.opinion-item .item-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 7;
  line-clamp: 7;
}

/* /////////////////////////////////////////////////////////////////////////////////
//
//  BUG OF TITLE BREAKING LAYOUT ON NEWS FEED
//
///////////////////////////////////////////////////////////////////////////////// */

.news-feed-list .item.horizontal .item-content h5 {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* /////////////////////////////////////////////////////////////////////////////////
//
//  TITLE COLORS FOR HEALTH/TAX/TECH/AUTO
//
///////////////////////////////////////////////////////////////////////////////// */

.breaker-title.capital-health {
  color: #2e7d32;
  border-top: 4px solid #2e7d32;
}

.breaker-title.capital-tax {
  color: #6d4c41;
  border-top: 4px solid #6d4c41;
}

.breaker-title.capital-tech {
  color: #e85829;
  border-top: 4px solid #e85829;
}

.breaker-title.capital-auto {
  color: #b71c1c;
  border-top: 4px solid #b71c1c;
}

/* /////////////////////////////////////////////////////////////////////////////////
//
//  FORBES SECTION SLIDES AS IT WAS IN THE OLD ONE
//
///////////////////////////////////////////////////////////////////////////////// */

.forbes-slide-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding: 1.5rem 0.8rem 2rem;
  background-image: url(/images/forbes-background.png);
}

.forbes-slide-container .swiper {
  width: 70%;
  position: relative;
}

.forbes-slide-container .swiper-wrapper {
  height: 100%;
}

.forbes-slide-container .swiper-slide {
  position: relative;
}

.forbes-slide-container .item-content {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  padding: 20px;
}

.forbes-slide-container .item-content h4 {
  margin: 0;
  font-size: 20px;
}

.forbes-slide-container .item-content a {
  color: white;
  text-decoration: none;
}

.forbes-slide-container .swiper-button-prev,
.forbes-slide-container .swiper-button-next {
  color: white;
  background: #fa673b;
  padding: 12px;
  height: 4.5rem;
  width: 3rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.forbes-slide-container .swiper-button-prev {
  left: 0;
}

.forbes-slide-container .swiper-button-next {
  right: 0;
}

.forbes-slide-container .swiper-button-prev:after,
.forbes-slide-container .swiper-button-next:after {
  font-size: 1.5rem;
}

.forbes-slide-container .forbes-info {
  width: 30%;
  position:relative;
  background-color:#000;
/*  background-image: url(/images/forbes-content-background.jpg);*/
  color: white;
  padding: 40px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.forbes-slide-container .forbes-logo img {
  width: 180px;
  height: 45px;
  margin-bottom: 2rem;
}

.forbes-slide-container .forbes-paragraphs p {
  display: none;
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.forbes-slide-container .forbes-paragraphs p.active {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.forbes-slide-container .forbes-info .forbes-button-link {
  background: #fa673b;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-weight: bold;
  margin-top: 10px;
}

.forbes-slide-container .swiper-pagination {
  position: absolute;
  bottom: 0.5rem;
  z-index: 10;
}

/* Τελείες */
.forbes-slide-container .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background-color: gray;
  opacity: 1;
  margin: 0 4px;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.forbes-slide-container .swiper-pagination-bullet-active {
  background-color: #fa673b;
}

@media (max-width: 768px) {
  .forbes-slide-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
  }

  .forbes-slide-container .swiper,
  .forbes-slide-container .forbes-info {
    width: 100%;
  }

  .forbes-slide-container .item-content {
    position: relative;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    padding: 20px;
  }

  .forbes-slide-container .swiper-button-prev,
  .forbes-slide-container .swiper-button-next {
    top: 60%;
  }

  .forbes-slide-container .forbes-logo img {
    margin-bottom: 1.5rem;
  }

  .forbes-slide-container .swiper-pagination {
    bottom: 0.8rem;
  }
}






/* /////////////////////////////////////////////////////////////////////////////////
//
//  Sponsor Placeholder
//
///////////////////////////////////////////////////////////////////////////////// */

.s-placeholder {
    margin: 2rem auto;
    height: auto;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


.forbes-slide-container .s-placeholder {
    margin: 1rem 0;
    position: absolute;
    bottom: 0;
    right: 1rem;
}

@media screen and (max-width: 1200px) {
    .forbes-slide-container .s-placeholder {
        position: relative;
        width: 100%;
        justify-content: flex-end;
        right: 0;
    }
}