.newsroom-template-homepage {
  background-color: #f2f2f2;
}

.cmp-container {
  background-color: white;
}

a {
  color: black;
  text-decoration: none !important;
}

.hero {
  width: 83%;
  margin: 0 auto;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 49% 49%;
  column-gap: 24px;
  row-gap: 24px;
}

.hero-item {
  display: flex;
  flex-direction: row;
  column-gap: 24px;
  height: max-content;
}

.itemid1 {
  flex-direction: column;
}

a.hero-item__title:hover, a.hero-item__title.hover {
  text-decoration: underline !important;
  text-decoration-color: #C3C4C5 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px !important;
}

.hero-item-image:focus, .hero-item__title:focus, .hero-tag:focus {
  outline: 2px solid #0076D5;
  border-radius: 4px;
}

.hero-item:nth-of-type(1) {
  /* border: 1px solid red; */
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 6;
}

.hero-item__image-wrapper {
  width: 180px;
  height: max-content;
}

.imgwrapperid1 {
  width: 100%;
  height: max-content;
}

.hero-item-image {
  width: 180px;
  display: block;
  height: 104px;
  border-radius: 4px;
  position: relative;
}

.imgid1 {
  width: 100%;
  height: 360px;
  margin-bottom: 24px;
}

.hero-play-img {
  position: absolute;
  width: 28px;
  height: 28px;
  bottom: 6px;
  left: 6px;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.12));
}
/* .hero-play-img-small {
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: 12px;
  left: 12px;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.12));
} */
.hero-external-icon{
  position: absolute;
  width: 24px;
  top: 6px;
  right: 6px;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.12));
}
.itemid1 .hero-external-icon {
  width: 48px;
  top: 16px;
  right: 16px;
}

.itemid1 .hero-play-img {
  width: 48px;
  height: 48px;
  bottom: 16px;
  left: 16px;
}

/* .hero-external-icon-small{
  position: absolute;
  width: 24px;
  height: 24px;
  top: 12px;
  right: 12px;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.12));
} */

.hero-item__content-wrapper {
  height: max-content;
}

.hero-item__title {
  font-weight: 350;
  font-size: 16px;
  line-height: 150%;
  display: block;
  margin-bottom: 16px;
}

.titleid1 {
  font-weight: 350;
  font-size: 40px;
  line-height: 120%;
  margin-bottom: 16px;

}

.hero-item__desc {
  display: none;
  font-weight: 350;
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 16px;
}

.descid1 {
  display: block;
}

.hero-item__meta {
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  /* display: flex; */
  /* flex-direction: row; */
  column-gap: 8px;
  align-items: center;
}

.hero-tag {
  font-weight: 400;
  font-size: 12px;
  height: 24px;
  line-height: 24px;
  display: block;
  letter-spacing: 0.02em;
  color: #0076D5;
  border: 1px solid #0076D5;
  border-radius: 2px;
  padding: 0px 8px;
}
.hero-tag:hover, .hero-tag:focus{
  background-color: #0076D529;
}

.hero-type {
  font-weight: 350;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #606162;
}

.hero-item__separator {
  font-size: 12px;
  color: #606162;
}

.hero-item__releaseDate {
  font-weight: 350;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #606162;
}

/* CSS for single Item */
.hero1ItemParent {
  display: block;
}

.hero1Item {
  display: flex;
  flex-direction: row-reverse;
}

.hero1ContentWrapper {
  width: 50%;
}

/* CSS for 2 items */
.hero2ItemParent {
  display: grid;
}

.hero2Item {
  flex-direction: column;
}

.hero2ImageWrapper {
  width: 100%;
  height: max-content;
}

.hero2Image {
  width: 100%;
  height: 360px;
  margin-bottom: 24px;
}

.hero2Title {
  font-size: 40px;
  line-height: 120%;
}

.hero2Desc {
  display: block;
}

/* CSS for 3 items */
.hero3ItemParent {
  grid-template-columns: 64% 34%;
}

.hero3Item {
  flex-direction: column;
}

.hero3ImageWrapper {
  width: 100%;
  height: max-content;
}

.hero3FirstImage {
  height: 488px;
}

.hero3Image {
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
}

.hero3Image {
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
}

/* CSS for 4 items */
.hero4ImageWrapper {
  width: 100%;
  height: max-content;
}

.hero4Image {
  width: 282px;
  height: 163px;
}

/* CSS for 5 items */
.hero5ItemParent {
  display: grid;
  grid-template-columns: 49.5% 23% 23%;
}

.hero5Item {
  display: flex;
  flex-direction: column;
}

.hero5Meta {
  display: flex;
  column-gap: 8px;
  row-gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.hero5ImageWrapper {
  width: 100%;
  height: max-content;
}

.hero5Image {
  width: 100%;
  height: 160px;
  margin-bottom: 16px;
}


/* Media Queries */

@media screen and (min-width: 768px) and (max-width:1024px) {
  .hero {
    display: block;
    width: 100%;
    padding: 0px 48px;
    margin-bottom: 0;
  }

  .hero-item {
    margin-bottom: 24px;
  }

  .itemid1 {
    margin-bottom: 40px;
  }

  .imgid1 {
    height: 53vw;
  }

  /* CSS for 1 item */
  .hero1Item {
    display: flex;
    flex-direction: column;
  }

  .hero1ContentWrapper {
    width: 100%;
  }

  /* CSS for 2 items */
  .hero2ItemParent {
    display: grid;
  }

  .hero2Item {
    flex-direction: column;
  }

  .hero2ImageWrapper {
    width: 100%;
    height: max-content;
  }

  .hero2Image {
    width: 100%;
    height: 24vw;
    margin-bottom: 24px;
  }

  .hero2Title {
    font-size: 32px;
    line-height: 120%;
  }

  .hero2Desc {
    display: block;
  }

  /* CSS for 3 items */
  .hero3ItemParent {
    display: grid;
    grid-template-columns: 49% 49%;
  }

  .hero3ItemFirst {
    grid-column-start: 1 !important;
    grid-column-end: 3 !important;
  }

  /* CSS for 4 items */
  .hero4ImageWrapper {
    width: unset;
    height: max-content;
  }

  /* CSS for 5 items */
  .hero5ItemParent {
    display: grid;
    grid-template-columns: 49% 49%;
  }

  .hero5ItemFirst {
    grid-column-start: 1 !important;
    grid-column-end: 3 !important;
  }

  .hero5Image {
    width: 100%;
    height: 24.042vw;
    margin-bottom: 16px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 767px) {
  .hero {
    display: block;
    width: 100%;
    padding: 0px 16px;
    margin-bottom: 0;
  }

  .hero-item {
    margin-bottom: 24px;
  }

  .itemid1 {
    margin-bottom: 40px;
  }

  .imgid1 {
    height: 50vw;
  }

  .hero-item__image-wrapper {
    width: 33.15vw;
    height: max-content;
  }

  .hero-item-image {
    width: 33.15vw;
    height: 19.5vw;
  }

  .hero-item__meta {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    row-gap: 8px;
  }

  .hero-tag {
    width: max-content;
    grid-column-start: 1;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 2;
    max-width: 40vw;
  }

  .titleid1 {
    font-size: 32px;
  }

  .hero-item__desc {
    font-size: 14px;
  }

  /* CSS for 1 item */
  .hero1Item {
    display: flex;
    flex-direction: column;
  }

  /* CSS for 2 items */
  .hero2Title {
    font-size: 32px;
    line-height: 120%;
  }

  .hero2ContentWrapper {
    width: 100%;
  }
  .hero2ImageWrapper {
    width: 100%;
    height: max-content;
}
  .hero2Image {
    width: 100%;
    height: 55.5vw;
  }

  /* CSS for 3 items */
  .hero3Item {
    display: grid;
    grid-template-columns: 38.5% 56.5%;
    column-gap: 16px;
  }

  .hero3ImageWrapper {
    width: 100%;
    height: max-content;
  }

  .hero3Image {
    width: 100%;
    height: 19.5vw;
    margin-bottom: 16px;
  }

  .hero3ContentWrapper {
    width: 100%;
  }

  /* CSS for 4 items */
  .hero4Item {
    display: grid;
    grid-template-columns: 38.5% 56.5%;
    column-gap: 16px;
  }

  .hero4Image {
    width: 100%;
    height: 19.5vw;
  }

  .hero4ContentWrapper {
    width: 100%;
  }

  /* CSS for 5 items */
  .hero5Item {
    display: grid;
    grid-template-columns: 38.5% 56.5%;
    column-gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    display: block;
    width: 100%;
    padding: 0px 16px;
    margin-bottom: 0;
  }

  .hero-item {
    margin-bottom: 24px;
  }

  .itemid1 {
    margin-bottom: 40px;
  }

  .imgid1 {
    height: 50vw;
  }

  .hero-item__image-wrapper {
    width: 33.15vw;
    height: max-content;
  }
  .itemid1 .hero-item__image-wrapper:nth-of-type(1) {
    width: 100%;
    height: max-content;
  }

  .hero-item-image {
    width: 33.15vw;
    height: 19.5vw;
  }
  .itemid1 .hero-item-image:nth-of-type(1) {
    width: 100%;
    height: 200px;
  }

  .hero-item:nth-of-type(1) .hero-item__content-wrapper {
    height: max-content;
    width: unset;
  }

  .hero-item__content-wrapper {
    height: max-content;
    width: unset;
  }

  .hero-item__meta {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    row-gap: 8px;
  }

  .hero-tag {
    width: max-content;
    grid-column-start: 1;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 2;
    max-width: 40vw;
  }

  .titleid1 {
    font-size: 32px;
  }

  .hero-item__desc {
    font-size: 14px;
  }

  /* CSS for 1 item */
  .hero1Item {
    display: flex;
    flex-direction: column;
  }

  /* CSS for 2 items */
  .hero2Title {
    font-size: 32px;
    line-height: 120%;
  }

  .hero2ContentWrapper {
    width: 100%;
  }
  .hero2ImageWrapper {
    width: 100%;
    height: max-content;
}
  .hero2Image {
    width: 100%;
    height: 55.5vw;
  }

  /* CSS for 3 items */
  .hero3Item {
    display: grid;
    grid-template-columns: 38.5% 56.5%;
    column-gap: 16px;
  }

  .hero3ImageWrapper {
    width: 100%;
    height: max-content;
  }

  .hero3Image {
    width: 100%;
    height: 19.5vw;
    margin-bottom: 16px;
  }

  .hero3ContentWrapper {
    width: 100%;
  }

  /* CSS for 4 items */
  .hero4Item {
    display: grid;
    grid-template-columns: 38.5% 56.5%;
    column-gap: 16px;
  }

  .hero4Image {
    width: 100%;
    height: 19.5vw;
  }

  .hero4ContentWrapper {
    width: 100%;
  }

  /* CSS for 5 items */
  .hero5Item {
    display: grid;
    grid-template-columns: 38.5% 56.5%;
    column-gap: 16px;
  }

  .hero5ContentWrapper {
    width: 100%;
  }

  .hero5Image {
    width: 100%;
    height: 19.5vw;
  }
}