body {
    margin: 0;
    font-family: Arial, sans-serif;
  }

  .container-artikel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .judul-artikel {
    text-align: center;
    width: 100%;
    padding: 20px;
  }


  .article-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.3s; /* Adding smooth transition for zoom effect */
  }

  .article-container:hover {
    transform: scale(1.1); /* Zoom effect on hover */
  }

  .article-container:nth-child(even) {
    margin-right: 0;
  }

  .foto {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
  }

  .foto img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .article-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    overflow: hidden;
    height: 3.6em;
    margin-top: 10px;
  }

  .article-title {
    font-size: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-top: 12px;
    font-weight: bold;
  }

  .article-details,
  .read-more-wrapper {
    flex-grow: 1;
  }

  .article-details {
    margin-right: 10px;
  }

  .article-date {
    font-style: italic;
  }

  .read-more-wrapper {
    text-align: right;
  }

  .btn-custom {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s; /* Adding smooth transition for button color change */
  }

  .btn-custom:hover {
    background-color: #007bff; /* Change button color on hover */
  }
  h1{
    color:#00A9FF;
  }
  h2{
    margin-top: 43px;
  }

  @media (max-width: 767px) {
    .article-content {
      flex-direction: column;
      align-items: flex-start;
      height: auto;
    }

    .article-container {
      margin: 10px 0px; /* Adjust margins to avoid horizontal overflow */
    }

    .container-artikel {
      padding: 0 10px; /* Add some padding to avoid overflow */
    }

    .article-details,
    .read-more-wrapper {
      margin-top: 10px;
    }

    .article-title {
      font-size: 0.8em;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

      margin-top: 12px;
      font-weight: bold;
    }

    h1{
      font-size:28px;
      margin-top:15px;
    }

    .article-date {
      font-style: italic;
      font-size: 12px;
    }

    .btn-custom {
      padding: 5px 10px;
      background-color: #007bff;
      color: #fff;
      border: none;
      font-size: 12px;
      border-radius: 4px;
      transition: background-color 0.3s; /* Adding smooth transition for button color change */
    }
  }

