/* 
    Created on : Sep 5, 2023, 2:44:02 PM
    Author     : Niklas
*/

.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-gap: 10px;
}

.premium-feed,
.all-reports-feed {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  padding: 0 10px;
  margin: 0 auto;
  width: 100%;
}

.center-column {
  padding: 0 10px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.premium-feed::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -5px;
  width: 1px;
  background-color: #707070;
}

.all-reports-feed::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  width: 1px;
  background-color: #707070;
}

.all-media-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  align-content: center;
  width: 100%;
  height: 140px;
  border-bottom: 1px solid #707070;
  margin-top: 24px;
}

.item-link {
  text-decoration: none;
}

.item-text-container {
  display: flex;
  flex-direction: column;
  height: 116px;
  margin: 10px 0 0 6px;
}

.item-company-name {
  font-size: 16px;
  color: #dcbf5a;
  font-weight: 300;
  margin-bottom: 5px;
}

.item-title-container {
  position: absolute;
  width: 275px;
  z-index: 1;
}

.item-title {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  max-height: 80px;
  overflow: hidden;
}

.item-date {
  margin-top: auto;
  color: #707070;
  font-size: 14px;
}

.item-img {
  width: 174px;
  max-width: 30vw;
  height: 113px;
  object-fit: cover;
  display: block;
}

.item-img-container {
  height: 113px;
  display: inline-block;
  overflow: hidden;
  position: relative;
  margin-top: 9px;
}

.item-img-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(16,16,16,1), rgba(16, 16, 16, 0.85) 30%, rgba(16,16,16,0));
}

.premium-feed-banner {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 2px #dcbf5a;
}

.premium-content-box {
  display: flex;
  margin-top: 5px;
}

.premium-feed-banner svg {
  width: 22px;
  height: auto;
  margin-bottom: 16px;
}

.premium-feed-banner h2 {
  font-size: 22px;
  font-weight: 600;
  color: #dcbf5a;
  margin: 0 0 0 9px;
}

.get-premium-button, .premium-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  width: 128.6px;
  height: 37px;
  color: #dcbf5a;
  text-decoration: none;
  border: solid 1px #dbbf5b;
  border-radius: 4px;
  margin: 0 4px 13px 0;
}

.get-premium-button:visited {
  color: #dcbf5a !important;
}

.premium-item {
  margin-top: 12px;
  width: 100%;
  height: 174px;
  border-bottom: 1px solid #707070;
}

.premium-box {
  display: flex;
}

.premium-box svg {
  width: 14.7px;
  height: 14px;
  margin: 3px 5px 0 0;
}

.premium-text {
  font-size: 14px;
  font-weight: 600;
  color: #dcbf5a;
}

.premium-button, .get-premium-button {
  color: #dcbf5a !important;
}

.text-and-image-container {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0 6px;
  border-left: solid 2px #dcbf5a;
}

.premium-item-text-container-regular-user,
.premium-item-text-container-premium-user {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  z-index: 1;
}

.premium-item-text-container-regular-user {
  filter: brightness(0.5);
}

.premium-item-img-regular-user,
.premium-item-img-premium-user {
  width: 174px;
  height: 113px;
  object-fit: cover;
}

.premium-item-img-regular-user {
  filter: brightness(0.5);
}

.premium-item-img-container {
  height: 113px;
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.premium-item-img-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(16,16,16,1), rgba(16, 16, 16, 0.85) 30%, rgba(16,16,16,0));
}

.latest-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  border-bottom: 1px solid #707070;
  max-width: 800px;
}

.latest-item-img {
  width: 100%;
  height: 337px;
  object-fit: cover;
  display: block;
}

.latest-item-img-container {
  width: 100%;
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.latest-item-img-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(to top, rgb(16, 16, 16), rgba(0,0,0,0));
}

.latest-item-text-container {
  width: 100%;
  max-width: 670px;
  margin: 10px 0 25px 0;
}

.latest-item-company-name {
  font-size: 16px;
  color: #dcbf5a;
  font-weight: 300;
  margin-bottom: 6px;
}

.latest-item-title {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
}

.latest-item-lead {
  font-size: 16px;
  color: #cbcbcb;
  margin-bottom: 35px;
}

.latest-item-date {
  color: #707070;
  font-size: 14px;
}

.divider-box {
  display: flex;
}

.all-media-title-divider {
  margin-right: 14px;
}

.all-media-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 10px 0 7px 0;
}

.all-media-feed .feed-item, .all-media-feed .premium-item {
  width: 97%;
}

.all-media-feed .feed-item {
  height: 150px;
}

.all-media-feed .premium-item {
  margin-top: 12px;
  height: 162px;
}

.all-media-feed .premium-item-text-container-regular-user, .all-media-feed .premium-item-text-container-premium-user {
  height: 111px;
}

.divider, .all-media-title-divider {
  width: 48.5%;
  border-bottom: 2px solid #dcbf5a;
}

.latest-research-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid #dcbf5a;
  padding-bottom: 15px;
  margin: 0;
}

.load-more-button, .load-more-button-large {
  cursor: pointer; 
}

.load-more-button {
  width: 100%;
  height: 37px;
  border-radius: 4px;
  margin-top: 22.5px; 
  margin-top: 10px;
  font-size:  16px;
  background-color: transparent;
  border: solid 1px #cbcbcb;
}

.load-more-button-large {
  width: 100%;
  height: 37px;
  margin-top: 16.5px;
  border-radius: 4px;
  font-size:  16px;
  background-color: transparent;
  border: solid 1px #cbcbcb;
}

.load-more-button-icon, .load-more-button-large-icon {
  width: 20px;
  height: 14px;
  fill: #cbcbcb;
  margin-bottom: -1px;
  margin-right: 4px;
}

.hidden-item {
    display: none;
}

.video-modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
}

.video-modal iframe {
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
}


@media screen and (max-width: 1600px) {
  .content-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .all-media-feed {
    grid-template-columns: 1fr;
  }
  .all-media-title-divider {
    width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .premium-feed {
    order: 2;
    margin-top: 40px
  }
  .center-column {
    order: 1;
  }
  .all-reports-feed {
    order: 3;
    margin-top: 40px
  }
  .premium-feed::after {
    display: none;
  }
  .all-reports-feed::after {
    display: none;
  }
  .premium-feed-banner h2 {
    font-size: 18px;
  }
  .get-premium-button {
    font-size: 14px;
  }
}