/* ========== News & Awards — desktop ========== */

.news-awards {
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
}

.news-awards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card,
a.news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(5, 27, 59, 0.05);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.news-card {
  text-decoration: none;
  color: inherit;
}

.news-card:hover,
a.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(5, 27, 59, 0.12);
}

.news-card__image {
  padding: 8px 8px 0;
}

.news-card__image img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.news-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
  gap: 12px;
}

.news-card__date {
  margin: 0;
  font-family: "Codec Pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #01a809;
}

.news-card__title {
  margin: 0;
  font-family: "Codec Pro", sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 28px;
  color: #141c24;
}

.news-card__description {
  margin: 0;
  font-family: "Codec Pro", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #33605a;
}

.news-awards__pagination {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  align-self: center;
  border: 1px solid #b0f9b4;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.news-awards__pagination .pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-right: 1px solid #b0f9b4;
  font-family: "Codec Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #33605a;
  text-decoration: none;
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-awards__pagination .pagination__item:last-child {
  border-right: none;
}

.news-awards__pagination .pagination__item:hover:not(.pagination__item--active):not(.pagination__item--disabled) {
  background: #f4fff4;
}

.news-awards__pagination .pagination__item--active {
  background: #e6fde7;
  color: #33605a;
  font-weight: 400;
}

.news-awards__pagination .pagination__item--previous,
.news-awards__pagination .pagination__item--next {
  min-width: 110px;
  padding: 8px 16px;
  gap: 8px;
}

.news-awards__pagination .pagination__arrow {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

html[dir="rtl"] .news-awards__pagination .pagination__arrow {
  transform: scaleX(-1);
}

.news-awards__pagination .pagination__item--disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .news-awards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card__image img {
    height: 240px;
  }

  .news-card__content {
    padding: 20px;
  }

  .news-card__title {
    font-size: 20px;
    line-height: 26px;
  }
}

@media (max-width: 1023px) {
  .news-awards {
    max-width: 100%;
    padding: 0 20px 48px;
    box-sizing: border-box;
  }

  .news-awards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .news-card__content {
    padding: 18px;
  }

  .news-card__image img {
    height: 220px;
  }
}

@media (max-width: 767px) {
  body {
    padding: 0;
    margin: 0;
  }

  .news-awards {
    width: 100%;
    max-width: none;
    padding: 16px;
    padding-bottom: 16px;
    box-sizing: border-box;
    gap: 20px;
    overflow-x: clip;
  }

  .news-awards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card,
  a.news-card {
    width: 100%;
    max-width: none;
  }

  .news-card__image {
    padding: 8px 8px 0;
  }

  .news-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .news-card__content {
    padding: 16px;
    gap: 10px;
  }

  .news-card__date {
    font-size: 12px;
    line-height: 18px;
  }

  .news-card__title {
    font-size: 18px;
    line-height: 22px;
  }

  .news-card__description {
    font-size: 14px;
    line-height: 20px;
  }

  .news-awards__pagination {
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    overflow: hidden;
    justify-content: center;
    border: 1px solid #b0f9b4;
    border-radius: 8px;
    background: #ffffff;
    flex-shrink: 0;
  }

  .news-awards__pagination .pagination__item--ellipsis {
    display: none;
  }

  .news-awards__pagination .pagination__item {
    font-family: "Codec Pro", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #33605a;
    background: #ffffff;
  }

  .news-awards__pagination .pagination__item--previous {
    width: 113px;
    min-width: 113px;
    height: 40px;
    min-height: 40px;
    padding: 8px 16px;
    gap: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: 1px solid #b0f9b4;
    background: #ffffff;
    white-space: nowrap;
  }

  .news-awards__pagination .pagination__item--next {
    min-width: 113px;
    height: 40px;
    min-height: 40px;
    padding: 8px 16px;
    gap: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-right: none;
    background: #ffffff;
    white-space: nowrap;
  }

  .news-awards__pagination .pagination__item:not(.pagination__item--previous):not(.pagination__item--next):not(.pagination__item--disabled) {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 12px;
    gap: 2px;
    border-right: 1px solid #b0f9b4;
    vertical-align: middle;
  }

  .news-awards__pagination .pagination__item--active {
    background: #e6fde7;
    color: #33605a;
    font-weight: 400;
  }
}

/* ========== News & Awards Detail Page ========== */

body.news-awards-detail-page main {
  background: linear-gradient(135deg, #003831 0%, #008208 100%) !important;
}

body.news-awards-detail-page.bg-primary-gradient {
  background: linear-gradient(135deg, #003831 0%, #008208 100%);
}

body.b2b-newui-app:has(.news-detail) .b2b-newui-main,
body.b2b-newui-app:has(.news-detail) > .b2b-newui-main {
  background: linear-gradient(135deg, #003831 0%, #008208 100%);
}

body.news-awards-detail-page .hero-block,
body.news-awards-detail-page .hero-landing-block {
  display: none;
}

.news-detail {
  padding: 32px 64px;
}

.news-detail .container {
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
}

.news-detail .read-more-btn,
.news-detail .article-content-body .read-more-btn {
  display: none !important;
}

.news-detail .back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  min-height: 40px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: opacity 0.2s ease;
  background-color: #003831;
}

.news-detail .back-button:hover {
  opacity: 0.8;
}

.news-detail .back-button__icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

html[dir="rtl"] .news-detail .back-button__icon {
  transform: scaleX(-1);
}

.news-detail .article-date {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  color: #ffffff;
}

.news-detail .article-title {
  margin: 16px 0 24px;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  color: #01EC0D;
}

.news-detail .hero-banner {
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
}

.news-detail .hero-banner img {
  display: block;
  width: 100%;
  height: 466px;
  object-fit: cover;
}

.news-detail .article-content {
  background: #ffffff;
  border-radius: 32px;
  padding: 48px 220px 80px 220px;
  color: #003831;
}

.news-detail .article-content-body,
.news-detail .article-content-body .article-content,
.news-detail .article-content-body .container,
.news-detail .article-content-body .news-detail {
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  max-width: none;
}

.news-detail .article-content-body h2,
.news-detail .article-content-body h3,
.news-detail .article-content-body h4 {
  margin: 32px 0 16px !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  color: #003831 !important;
}

.news-detail .article-content-body h2:first-child,
.news-detail .article-content-body h3:first-child,
.news-detail .article-content-body p:first-child {
  margin-top: 0 !important;
}

.news-detail .article-content-body p {
  margin: 0 0 24px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  color: #003831 !important;
}

.news-detail .article-content-body ul,
.news-detail .article-content-body ol {
  display: block !important;
  list-style-position: outside !important;
  margin: 0 0 24px !important;
  padding-left: 24px !important;
}

.news-detail .article-content-body ul {
  list-style-type: disc !important;
}

.news-detail .article-content-body ol {
  list-style-type: decimal !important;
}

.news-detail .article-content-body li {
  display: list-item !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  color: #003831 !important;
}

.news-detail .article-content-body li::marker {
  color: #003831;
}

.news-detail .explore-stories {
  padding: 60px 0;
}

.news-detail .section-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.news-detail .section-title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  color: #01EC0D;
}

.news-detail .section-description {
  max-width: 899px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #E6FDE7;
}

.news-detail .stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .news-detail {
    padding: 32px;
  }

  .news-detail .article-content {
    padding: 48px 64px 64px;
  }

  .news-detail .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-detail {
    padding: 24px;
  }

  .news-detail .article-title,
  .news-detail .section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .news-detail .hero-banner img {
    height: 300px;
  }

  .news-detail .article-content {
    position: relative;
    padding: 24px 24px 40px;
    border-radius: 8px;
  }

  .news-detail .article-content p {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 22px;
  }

  .news-detail .article-content-body {
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
  }

  .news-detail .article-content-body.collapsed {
    max-height: 420px;
  }

  .news-detail .article-content-body.collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
  }

  .news-detail .article-content > .read-more-btn:not([hidden]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px auto 0;
    padding-top: 8px;
    padding-bottom: 8px;
    background: none;
    border: none;
    color: #083B3A;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }

  .news-detail .article-content > .read-more-btn:not([hidden])::before {
    content: "»";
    color: #D9D9D9;
    font-size: 22px;
    line-height: 1;
  }

  .news-detail .article-content-body .read-more-btn {
    display: none !important;
  }

  .news-detail .stories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-detail .section-heading {
    gap: 16px;
  }

  .news-detail .section-description {
    font-size: 15px;
    line-height: 22px;
  }

  .news-detail .back-button {
    gap: 0;
    padding: 6px 8px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    line-height: 22px;
  }

  .news-detail .back-button__icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .news-detail .article-date {
    font-size: 16px;
    margin-top: 10px;
    font-weight: 600;
  }

  .news-detail .article-title,
  .news-detail .section-title {
    font-size: 28px;
    line-height: 32px;
  }

  .news-detail .hero-banner {
    border-radius: 8px;
  }

  .news-detail .article-content h2,
  .news-detail .article-content h3 {
    font-size: 18px;
    line-height: 20px;
  }
}

/* ========== Newsroom ========== */

.newsroom-section {
    width: 100%;
    max-width: 1440px;
    min-height: 192px;
    padding: 60px 96px;
    /*background: linear-gradient(
        90deg,
        #003f2b 0%,
        #005b2f 45%,
        #008a1e 100%
    );*/
    box-sizing: border-box;
}

.newsroom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.newsroom-title {
    width: 551px;
    min-height: 44px;
    margin: 0;
    padding: 0 32px;
    color: #00f249;

    font-family: "Roboto", sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 44px;
    text-transform: uppercase;

    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

.newsroom-description {
    width: 681px;
    min-height: 72px;
    padding-right: 88px;
    color: #e6fde7;

    font-family: "Codec Pro", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;

    box-sizing: border-box;
}

@media (max-width: 768px) {
    .newsroom-section {
        width: 100%;
        padding: 24px 16px;
        min-height: 168px;
        box-sizing: border-box;
    }

    .newsroom-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 16px;
        width: 100%;
    }

    .newsroom-title {
        width: 100%;
        max-width: 343px;
        margin: 0;
        padding: 0;

        font-family: "Codec Pro", sans-serif;
        font-size: 32px;
        font-weight: 800;
        line-height: 32px;
        text-transform: uppercase;

        display: block;
        color: #00F249;
        background: transparent;
    }

    .newsroom-description {
        width: 100%;
        max-width: 343px;
        margin: 0;
        padding: 0;

        font-family: "Roboto", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;

        color: #FFFFFF;
        background: transparent;
    }
}
