* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
  }
  
  body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Ubah dari center ke flex-start untuk scroll */
    padding: 30px;
    overflow: auto; /* Tambahkan overflow auto */
  }
  
  .container {
    max-width: 600px;
    background-color: #f1f1f1;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f1f1f1;
  }
  
  .back-button {
    position: sticky;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px; /* Atur lebar dan tinggi sama */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
  }
  
  .back-button a {
    color: black;
    font-size: 18px; /* Atur ukuran ikon */
  }
  
  h2 {
    font-size: 18px;
    color: #333333;
    margin: 0;
    padding-left: 10px;
  }
  
  .image-container {
    width: 100%;
    overflow: hidden;
    padding: 25px;
  }
  
  .news-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .news-content {
    padding: 30px;
    background-color: #fff;
    border-bottom-left-radius: 20px; /* Radius untuk sudut kiri bawah */
    border-bottom-right-radius: 20px; /* Radius untuk sudut kanan bawah */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .news-content .sub {
    display: flex;
    align-items: center;
  }
  
  .news-content ul {
    list-style-type: disc;
    padding-left: 20px;
  }
  
  .news-content li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
  }
  
  .news-footer {
    margin-bottom: 20px;
  }
  
  .news-footer a {
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
  }
  
  .news-footer p {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
  }
  
  .vertical-line {
    width: 5px;
    background-color: green;
    margin-right: 10px;
    height: 40px;
    margin-bottom: 12px;
  }
  
  .other-news {
    padding: 20px;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .other-news h2 {
    font-size: 25px;
    margin-top: 10px;
  }
  
  .news-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .news-card img {
    max-width: 40%;
    height: auto;
    border-radius: 10px;
  }
  
  .text-content {
    margin-left: 15px;
    max-width: 300px;
  }
  
  .text-content a {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
  }
  
  .text-content a:hover {
    text-decoration: underline;
  }
  
  .text-content p {
    font-size: 13px;
    color: #969696;
    width: 280px; /* Tentukan lebar elemen */
    display: -webkit-box; /* Menggunakan Flexbox untuk mengatur elemen teks */
    -webkit-line-clamp: 2; /* Membatasi hanya satu baris yang ditampilkan */
    -webkit-box-orient: vertical; /* Orientasi Flexbox vertikal */
    overflow: hidden; /* Menghilangkan teks yang melebihi batas elemen */
    text-overflow: ellipsis; /* Menambahkan "..." pada teks yang terpotong */
    line-height: 1.5; /* Atur jarak antar baris jika diperlukan */
    margin-top: 8px;
  }
  
  @media (max-width: 768px) {
    .container {
      max-width: 100%;
      margin-bottom: 30px;
    }
  
    .header h2 {
      font-size: 16px;
    }
  
    .back-button {
      width: 40px; /* Atur lebar dan tinggi sama */
      height: 40px;
    }
  
    .news-content {
      padding: 30px;
    }
  
    .news-footer p {
      font-size: 12px;
    }
  
    .text-content a {
      font-size: 13px;
      width: 250px;
    }
  
    .text-content p {
      font-size: 8px;
      width: 220px;
    }
  }

  @media (max-width: 450px) {
  
    .text-content a {
      font-size: 12px;
      width: 170px;
    }
  
    .text-content p {
      font-size: 9px;
      width: 150px;
    }
  }

  @media (max-width: 350px) {

    .news-card img {
      display: none;
    }
  } 
  
  /* CSS */
  .button-3 {
    appearance: none;
    background-color: #2ea44f;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
  }
  
  .button-3:focus:not(:focus-visible):not(.focus-visible) {
    box-shadow: none;
    outline: none;
  }
  
  .button-3:hover {
    background-color: #2c974b;
  }
  
  .button-3:focus {
    box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
    outline: none;
  }
  
  .button-3:disabled {
    background-color: #94d3a2;
    border-color: rgba(27, 31, 35, .1);
    color: rgba(255, 255, 255, .8);
    cursor: default;
  }
  
  .button-3:active {
    background-color: #298e46;
    box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
  }  