.layout-content {
  padding: 240px clamp(40px, 15vw, 140px) 70px clamp(40px, 15vw, 140px);
}

.page-title {
  font-size: clamp(54px, 5vw, 76px);
  line-height: 1.1053;
  font-weight: 400;
  margin-bottom: 30px;
}

.node__submitted {
  display: none;
}

.info-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
  order: 2;
}

.news-meta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.news-meta-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.1429;
  font-weight: 700;
  opacity: 0.75;
}

.node--type-news .node__content {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.node--type-news h2 {
    font-weight: 700;
    font-size: 56px;
    line-height: 1.0714;
    margin-bottom: 20px;
}

.node--type-news h3 {
    font-weight: 700;
    font-size: 44px;
    line-height: 1.0909;
    margin-bottom: 20px;
}

.node--type-news h4 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1176;
    margin-bottom: 20px;
}

.node--type-news h5 {
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1333;
    margin-bottom: 20px;
}

.node--type-news h6 {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.1538;
    margin-bottom: 20px;
}

.node--type-news .field--name-field-topic,
.node--type-news .field--name-field-project,
.node--type-news .field--name-field-type {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.node--type-news .field--name-field-topic .field__item,
.node--type-news .field--name-field-project .field__item,
.node--type-news .field--name-field-type .field__item {
  padding: 10px 14px;
  border: 1px solid white;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  font-size: 15px;
  line-height: 1.2;
}

.node--type-news .field--name-body {
    order: 0;
    width: calc(60vw - 2 * clamp(40px, 15vw, 140px) - 50px);
}

.node--type-news .field--name-field-news-banner img {
  /*width: calc(100vw - 2 * clamp(40px, 15vw, 140px));*/
  width: 40vw;
  height: auto;
  margin-bottom: 80px;
}

.node--type-news .field--name-body img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.node--type-news .field--name-body p {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.2;
}

.node--type-news .field--name-body ul {
  margin-bottom: 20px;
    list-style-type: disc;
}

.node--type-news .field--name-body li {
    margin-left: 21px;
  margin-bottom: 10px;
   font-size: 20px;
  line-height: 1.2;
}

.node--type-news .field--name-body a {
  text-decoration: underline;
  display: inline-block;
  color: #7603FF;
}

.node--type-news .field--name-body strong, .node--type-news .field--name-body b  {
  font-weight: 700;
}

.node--type-news .field--name-body em, .node--type-news .field--name-body i  {
  font-style: italic;
}

.node--type-news .field--name-body ol {
    list-style-type: lower-alpha;
}

.node--type-news .field--name-body blockquote {
    font-style: italic;              /* Italic text */
    margin: 20px 0;                 /* Spacing around the blockquote */
    padding: 10px 20px;             /* Padding inside the blockquote */
    border-left: 4px solid #ccc;    /* Left border for emphasis */
    color: #555;                    /* Dark gray text color */
    quotes: "“" "”" "‘" "’";         /* Custom quotes */
}

.node--type-news .field--name-body blockquote:before {
    content: open-quote;            /* Opening quote before blockquote */
}

.node--type-news .field--name-body blockquote:after {
    content: close-quote;           /* Closing quote after blockquote */
}

.node__submitted {
  white-space: nowrap;
}

.node--type-news .field--name-field-news-banner {
    width: 40vw;
    margin-top: 20px;
    margin-left: 20px;
 order: 1;
}

.video-container:last-of-type {
    margin-bottom: 30px;
}

.video-container:last-of-type a {
    font-size: 20px;
    line-height: 1.2;
}


@media only screen and (max-width: 1024px) {
    .layout-content {
      padding: 140px clamp(40px, 15vw, 140px) 70px clamp(40px, 15vw, 140px);
    }
    .node--type-news .node__content {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    .node--type-news .field--name-field-news-banner img {
      width: calc(100vw - 2 * clamp(40px, 15vw, 140px));
      margin-bottom: 40px;
    }
    .node--type-news .field--name-body {
        order: 1;
        width: calc(100vw - 2 * clamp(40px, 15vw, 140px));
    }
    .node--type-news .field--name-field-news-banner {
        width: 100%;
        margin-top: 0px;
        margin-left: 0px;
     order: 0;
    }
}


@media only screen and (max-width: 769px) {
    .layout-content {
      padding: 100px clamp(40px, 11vw, 140px) 70px clamp(40px, 11vw, 140px);
    }
    /*.field--name-field-news-banner {*/
    /*    float: none;*/
    /*    width: 100%;*/
    /*}*/
    /*.field--name-field-news-banner img {*/
    /*  width: 100%;*/
    /*}*/
    .node--type-news .field--name-field-news-banner img {
      width: calc(100vw - 120px);
    }
    .node--type-news .field--name-body {
        width: calc(100vw - 120px);
    }
}

@media only screen and (max-width: 500px) {
    .node--type-news .field--name-field-news-banner img {
      width: calc(100vw - 80px);
    }
    .node--type-news .field--name-body {
        width: calc(100vw - 80px);
    }
}

@media only screen and (max-width: 480px) {

  .page-title {
   font-size: 34px;
   line-height: 1.1176;
  }
  .node__submitted {
    flex-wrap: wrap;
  }
    .node--type-news .field--name-field-topic {
    flex-wrap: wrap;
  }
}

main {
  padding: 0!important;
}

/* Article layout: metadata first, then text wrapping around the image. */
.layout-content { padding: 130px var(--sec-page-gutter) 70px; }
.node--type-news .node__content { display: flow-root; }
.node--type-news .field--name-body { width: auto; }
.node--type-news .field--name-field-news-banner {
  float: right;
  width: 44%;
  margin: 0 0 24px 40px;
}
.node--type-news .field--name-field-news-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 20px;
}
.node--type-news .field--name-body a { display: inline; }
@media (max-width: 769px) {
  .layout-content { padding-top: 110px; }
  .node--type-news .field--name-field-news-banner {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

/* Respect image proportions and keep article media at a readable size. */
.node--view-mode-full .field--name-field-news-banner {
  width: min(40%, 460px);
}
.node--view-mode-full .field--name-field-news-banner img {
  max-height: 400px;
  object-fit: contain;
  object-position: top center;
}
.node--view-mode-full .field--name-body img {
  display: block;
  width: auto;
  max-width: min(100%, 640px);
  max-height: 440px;
  height: auto;
  object-fit: contain;
  margin: 24px auto;
}
@media (max-width: 769px) {
  .node--view-mode-full .field--name-field-news-banner {
    width: min(100%, 460px);
    margin-inline: auto;
  }
  .node--view-mode-full .field--name-field-news-banner img,
  .node--view-mode-full .field--name-body img {
    max-height: 320px;
  }
}

.node--view-mode-full .news-image-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  clear: both;
  margin: 28px 0;
}
.node--view-mode-full .news-image-gallery > :is(p, a, figure) {
  margin: 0;
  min-width: 0;
}
.node--view-mode-full .news-image-gallery img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
}
@media (min-width: 1025px) {
  .node--view-mode-full .news-image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
