/* ===============================
   Scoped Styles ONLY for #newsHighlights
   =============================== */

#newsHighlights {
  --tc-body-font-family: 'Montserrat', sans-serif;
  --tc-heading-font-family: 'Montserrat', sans-serif;
  --tc-body-font-size: 16px;
  --tc-ds-2: 72px;
  --tc-fs-5: 20px;
  --tc-fs-7: 14px;
  --tc-neutral-50: #f7f8f9;
  --tc-neutral-100: #eaecee;
  --tc-neutral-200: #e5e7eb;
  --tc-neutral-600: #626568;
  --tc-neutral-900: #00205b;
  --tc-system-white: #ffffff;
  --tc-fw-medium: 500;
  --tc-fw-semi-bold: 600;
  --tc-fw-regular: 400;
  --tc-heading-line-height: 1.2;
  --tc-body-line-height: 1.5;

  font-family: var(--tc-body-font-family);
  font-size: var(--tc-body-font-size);
  color: var(--tc-neutral-600);
  background-color: var(--tc-neutral-50);
}

/* Typography */
#newsHighlights h1,
#newsHighlights h2,
#newsHighlights h5,
#newsHighlights h6 {
  font-family: var(--tc-heading-font-family);
  color: var(--tc-neutral-900);
  line-height: var(--tc-heading-line-height);
  font-weight: var(--tc-fw-semi-bold);
  margin: 0;
}

#newsHighlights .fs-7 { font-size: var(--tc-fs-7); }
#newsHighlights .fw-500 { font-weight: var(--tc-fw-medium) !important; }
#newsHighlights .text-uppercase { text-transform: uppercase !important; }

#newsHighlights .text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;
}

/* Article Base */
#newsHighlights .article { position: relative; transition: 0.3s; }

#newsHighlights .post-link { display: grid; position: relative; }

#newsHighlights .thumbnail {
  position: relative;
  border-radius: 1em;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#newsHighlights .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#newsHighlights .hover-effect-1 { overflow: hidden; }

/* Card Corner */
#newsHighlights .card-corner {
  z-index: 2;
  background-color: var(--tc-neutral-50);
  border-top-left-radius: 2em;
  width: 58px;
  height: 58px;
  position: absolute;
  inset: auto 0% 0% auto;
  border-top: 1px solid var(--tc-neutral-200);
  border-left: 1px solid var(--tc-neutral-200);
}

#newsHighlights .card-corner::before {
  content: "";
  position: absolute;
  border-top-left-radius: 2.5em;
  width: 120%;
  height: 120%;
  z-index: 1;
  background-color: var(--tc-neutral-50);
}

#newsHighlights .card-corner.no-border { border: none; }

#newsHighlights .curve-one,
#newsHighlights .curve-two {
  position: absolute;
  background: transparent;
  width: 16px;
  height: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0.313rem 0.313rem 0 0.313rem var(--tc-neutral-50);
  border-right: 1px solid var(--tc-neutral-200);
  border-bottom: 1px solid var(--tc-neutral-200);
}

#newsHighlights .curve-one { top: -16px; right: -1px; }
#newsHighlights .curve-two { bottom: -1px; left: -16px; }

/* Arrow Box */
#newsHighlights .arrow-box {
  z-index: 4;
  display: flex;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  border: 1px solid var(--tc-neutral-200);
  background-color: var(--tc-system-white);
  position: absolute;
  inset: 8px 0% 0% 8px;
  transition: all 0.3s ease-in-out;
}

#newsHighlights .article:hover .arrow-box {
  background-color: var(--tc-neutral-900);
  transform: rotate(-45deg);
}

#newsHighlights .article .arrow-box svg path {
  stroke: var(--tc-neutral-900) !important;
}

#newsHighlights .article:hover .arrow-box svg path {
  stroke: var(--tc-system-white) !important;
}

/* Card 5 */
#newsHighlights .article.card-5 .thumbnail {
  min-height: 229px;
  max-height: 229px;
}

/* Card 11 */
#newsHighlights .article.card-11 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#newsHighlights .article.card-11 .thumbnail {
  /* max-height: 340px; */
  max-height: 400px;
}

#newsHighlights .article.card-11 .card-body {
  border: 1px solid var(--tc-neutral-200);
  background-color: var(--tc-system-white);
  backdrop-filter: blur(15px);
  padding: 45px 25px 30px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
}

/* Hover Effects */
#newsHighlights .hover-up:hover {
  /* transform: translateY(-3px); */
}

#newsHighlights .hover-underline .line-wrapper {
  position: relative;
  display: inline;
}

#newsHighlights .hover-underline .line-wrapper::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ee6e47 0%, #28886a 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

#newsHighlights .hover-underline:hover .line-wrapper::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Section Padding */
#newsHighlights.pb-70 { padding-bottom: 70px; }
#newsHighlights.pt-70 { padding-top: 70px; }

#newsHighlights .container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 15px;
}

.sec-7-home-1 h2.header {
    font-weight: 300 !important;
}

.sec-7-home-1 h6.header-top {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    line-height: 0.8125rem !important;
    margin-bottom: 1rem !important;
    color: #707070 !important;
    text-transform: uppercase !important;
}

@media screen and (min-width:1400px) {
  .contin {
    padding: 5rem 9.4rem !important;
  }
}

@media screen and (max-width:767px) {
  #newsHighlights .article.card-11 .card-body {
    padding: 16px;
  }
}