.news {
  width: 100%;
  margin-top: 50px;
}

.news-header {
  position: relative;
  text-align: left;
}

.news-left {
  height: 70vh;
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: 30px 0;
}

.section-news-title {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-medium);
  font-size: 15px;
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0px 60px;
  letter-spacing: 6px;
}

.section-news-subtitle {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  font-size: 55px;
  color: var(--color-black-default);
  margin-bottom: 15px;
  padding: 0px 60px 0px 60px;
}

.news-left .background-image {
  float: right;
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
}

.news-left .news-card {
  position: absolute;
  top: 40%;
  left: 20px;
  transform: translateY(-50%);
  background-color: #f6f6f6;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 50%;
  height: auto;
  z-index: 100;
  overflow: hidden;
}

.news-card .news-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.news-card .news-card-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.news-card .news-card-header .text-container {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  display: flex;
  align-items: center;
}

.news-card .news-card-header .title {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
}

.news-card .news-card-header .time {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  font-size: 10px;
  color: #888888;
  display: flex;
  align-items: center;
  margin-left: 10px;
  margin-top: 5px;
}

/* .news-item-header .title::after {
  content: "•";
  font-size: 10px;
  font-weight: bold;
  margin: 0 5px;
} */

@media (max-width: 767px) {
  .news-item-header .title::after {
    content: "";
  }
}

.news-card .content h1 {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-black-default);
}

.news-card .content p {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.news-card .content a {
  font-family: var(--font-family-main);
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.news-right {
  position: relative;
  margin-left: 20px;
  z-index: 10;
}

.news-right .see-all {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  text-align: right;
  padding-right: 20px;
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news-right .see-all a {
  text-decoration: none;
  font-size: 14px;
}

.news-item {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  height: auto;
}

.news-item img {
  width: 130px;
  height: 100px;
  border-radius: 8px;
  margin-right: 5px;
}

.news-item-content {
  flex: 1;
}

.news-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.news-item-header img {
  width: 30px;
  height: auto;
  border-radius: 50%;
  margin-top: auto;
}

.news-item-header .title {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  font-size: 14px;
  font-weight: bold;
  color: #000000;
}

.news-item-header .bullet {
  font-size: 10px;
  color: #888888;
  font-weight: var(--font-weight-semi-bold);
}

.news-item-header .time {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  font-size: 10px;
  color: #888888;
}

.news-item-title {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-width: 100%;
  max-height: 3.6em;
  display: block;
}

.news-item-read-more {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  text-decoration: none;
  font-size: 12px;
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: auto;
}

@media (max-width: 414px) {
  .news-left {
    height: 70vh !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-left: 20px !important;
  }

  .news-left .news-card {
    left: 0 !important;
    margin: 20px !important;
    border-radius: 10px !important;
    max-width: 100% !important;
    margin-top: 10% !important;
  }

  .news-right {
    padding: 5% !important;
    padding-right: 5% !important;
  }
}

@media (max-width: 768px) {
  .news-left {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .news-left .background-image {
    float: right;
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
  }

  .news-left .news-card {
    position: absolute !important;
    top: 50% !important;
    padding: 40px !important;
    background-color: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    height: auto;
    z-index: 100;
    overflow: hidden;
  }
}

@media (max-width: 820px) {
  .news-left {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto !important;
    min-height: 45vh;
    width: 90%;
    margin-left: 30px;
    padding-bottom: 30px;
    overflow: visible;
  }

  .news-left .background-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    z-index: 1;
  }

  .news-left .news-card {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 85%;
    max-width: none;
    height: auto;
    margin: 40px 0;
    z-index: 2;
  }
}

@media (min-width: 821px) and (max-width: 1023px) {
  .news {
    width: 100%;
    min-height: auto;
  }

  .news-left {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    min-height: 55vh;
    padding: 20px 0;
    overflow: visible;
  }

  .news-left .background-image {
    grid-column: 1;
    grid-row: 1;
    width: 85%;
    height: 100%;
    min-height: 400px;
    justify-self: end;
  }

  .news-left .news-card {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    position: relative;
    top: auto;
    left: 20px;
    transform: none;
    width: 75%;
    max-width: none;
    height: auto;
    margin: 30px 0;
    z-index: 100;
    padding: 25px;
  }

  .news-card .content h1 {
    font-size: 22px;
  }

  .news-card .content p {
    font-size: 13px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .news {
    width: 100%;
    min-height: 80vh;
  }

  .news-left {
    min-height: 80vh;
    height: auto;
    padding: 40px 0;
  }

  .news-left .background-image {
    width: 85%;
    height: 75%;
  }

  .news-left .news-card {
    position: absolute;
    top: 45%;
    left: 25px;
    transform: translateY(-50%);
    background-color: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 52%;
    max-height: 65%;
    height: auto;
    z-index: 100;
    overflow-y: auto;
    padding: 28px;
  }

  .news-card .content h1 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .news-card .content p {
    font-size: 12.5px;
    line-height: 1.65;
    margin-bottom: 10px;
  }

  .news-card .content a {
    display: block;
    margin-top: 10px;
  }

  .news-right {
    margin-left: 25px;
  }

  .news-item {
    margin-bottom: 18px;
  }

  .news-item img {
    width: 140px;
    height: 105px;
  }
}

@media (min-width: 1200px) and (max-width: 1366px) {
  .news {
    width: 100%;
    min-height: 75vh;
  }

  .news-left {
    min-height: 75vh;
    height: auto;
    padding: 40px 0;
  }

  .news-left .background-image {
    width: 84%;
    height: 76%;
  }

  .news-left .news-card {
    position: absolute;
    top: 45%;
    left: 28px;
    transform: translateY(-50%);
    background-color: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 52%;
    max-height: 68%;
    height: auto;
    z-index: 100;
    overflow-y: auto;
    padding: 30px;
  }

  .news-card .content h1 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .news-card .content p {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 10px;
  }

  .news-card .content a {
    display: block;
    margin-top: 12px;
  }

  .news-right {
    margin-left: 30px;
  }

  .news-item {
    margin-bottom: 20px;
  }

  .news-item img {
    width: 148px;
    height: 110px;
  }
}

@media (min-width: 1367px) {
  .news {
    width: 100%;
    min-height: 60vh;
  }

  .news-left {
    min-height: 60vh;
    height: auto;
    padding: 40px 0;
  }

  .news-left .background-image {
    width: 85%;
    height: 75%;
  }

  .news-left .news-card {
    position: absolute;
    top: 40%;
    left: 30px;
    transform: translateY(-50%);
    background-color: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 55%;
    height: auto;
    z-index: 100;
    overflow: hidden;
    padding: 30px;
  }

  .news-card .content h1 {
    font-size: 26px;
  }

  .news-card .content p {
    font-size: 14px;
  }

  .section-news-title {
    padding: 0px 80px;
  }

  .section-news-subtitle {
    padding: 0px 80px 0px 80px;
    font-size: 60px;
  }

  .news-right {
    margin-left: 30px;
  }

  .news-item img {
    width: 150px;
    height: 110px;
  }
}