@media print {
  .article-area {
    width: 90% !important;
  }
}

.article-part-ttl {
  width: 100%;
  height: fit-content;
  padding: 50px 0px;
  background-color: var(--primary-top-color);
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
}

.article-part-ttl-txt {
  font-size: 50px;
  /* 13 */
  color: white;
  margin: 10px 0px;
  padding: 0px;
}

.article-area {
  width: 1000px;
  height: fit-content;
  display: flex;
  justify-content: start;
  justify-items: start;
  align-content: start;
  align-items: start;
  margin: 50px 0px 100px 0px;
  flex-direction: column;
}

.article-list {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  justify-items: space-between;
  align-content: start;
  align-items: start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.article-itm {
  width: 99%;
  /* 23/31 */
  height: fit-content;
  display: flex;
  justify-content: space-between;
  justify-items: space-between;
  align-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--first-color);
  border-radius: 10px;
  padding: 1%;
  transition: 0.3s all ease;
  box-shadow: 0px 0px 0px var(--first-color);
  margin-bottom: 20px;
}

.article-itm:hover {
  margin-top: -10px;
  margin-left: -10px;
  box-shadow: 10px 10px 0px var(--first-color);
}

.article-itm-imgc {
  width: fit-content;
  height: 100px;
  margin-right: 15px;
}

.article-itm-img {
  width: auto;
  height: 100%;
  image-rendering: -webkit-optimize-contrast;
  /* Untuk Safari & iOS */
  border-radius: 10px;
}

.article-itm-txt {
  width: 100%;
  height: fit-content;
  flex: 1;
}

.article-itm-ttl {
  font-size: 20px;
  /* 16 */
  color: black;
  margin: 0px;
  padding: 0px;
  display: -webkit-box;
  /* WAJIB */
  -webkit-line-clamp: 3;
  /* Jumlah maksimum baris */
  -webkit-box-orient: vertical;
  /* WAJIB */
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-itm-sttl {
  font-size: 15px;
  color: black;
  margin: 0;
  padding: 0;
}

.article-content {
  width: 1000px;
  height: fit-content;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: start;
  align-items: start;
  margin: 50px 0px 100px 0px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 10px rgb(199, 199, 199);
}

.article-content-area {
  width: 90%;
  height: fit-content;
  display: flex;
  justify-content: start;
  justify-items: start;
  align-content: start;
  align-items: start;
  flex-direction: column;
  margin: 40px 0px;
}

.article-content-top {
  width: 100%;
  height: fit-content;
  padding-bottom: 20px;
  border-bottom: 2px solid rgb(209, 209, 209);
  margin-bottom: 20px;
}

.article-content-top-ttl {
  font-size: 25px;
  color: black;
  margin: 0px;
  padding: 0px;
}

.article-content-top-sttl {
  font-size: 18px;
  color: black;
  margin: 0px;
  padding: 0px;
}

.article-content-top-banner {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  margin: 20px 0px 10px 0px;
}

.article-content-top-banner-img {
  width: 70%;
  height: fit-content;
}

.article-content-body {
  width: 100%;
  height: fit-content;
}

.article-content-body img {
  width: fit-content;
  height: 300px;
  margin-top: 5px;
}

.loadMore {
  font-size: 20px;
  margin: 0px;
  color: white;
  background-color: var(--first-color);
  border: 2px solid var(--first-color);
  padding: 10px 25px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s all ease;
}

.loadMore:hover {
  color: var(--first-color);
  background-color: transparent;
}

.article-area-top {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  justify-items: space-between;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-area-top-sort {
  width: 30%;
  height: fit-content;
}

select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid #ccc;
  background-color: #f9f9f9;
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
}

select:focus {
  border-color: #007bff;
  background-color: #fff;
  outline: none;
}

.article-area-top-search-box {
  width: 50%;
  height: fit-content;
  position: relative;
  display: flex;
  align-items: center;
}

.article-area-top-search-box input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 12px;
  border: 2px solid #ccc;
  background-color: #f9f9f9;
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.article-area-top-search-box input:focus {
  border-color: #007bff;
  background-color: #fff;
  outline: none;
}

.article-area-top-search-box svg {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 20px;
  fill: #666;
}

@media screen and (min-width: 1150px) {
  .article-area {
    width: 1000px;
  }

  .article-content {
    width: 1000px;
  }
}

@media screen and (max-width: 1150px) {
  .article-area {
    width: 90%;
  }

  .article-content {
    width: 100%;
    margin: 0px 0px 100px 0px;
  }
}

@media screen and (max-width: 1000px) {
  .article-itm-ttl {
    font-size: 20px;
    /* 16 */
  }

  .article-itm-sttl {
    font-size: 15px;
    /* 13 */
  }
}

@media screen and (max-width: 700px) {
  .article-itm {
    width: 98%;
    padding: 2%;
  }

  .article-itm-ttl {
    font-size: 16px;
    /* 16 */
  }

  .article-itm-sttl {
    font-size: 13px;
    /* 13 */
  }
}

@media screen and (max-width: 600px) {
  .loadMore {
    width: 100%;
    padding: 10px 0px;
    font-size: 18px;
  }

  .article-area-top-search-box {
    width: 100%;
    margin-bottom: 10px;
  }

  .article-area-top-sort {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .article-content-area {
    width: 85%;
  }

  .article-content-top-ttl {
    font-size: 20px;
  }

  .article-content-top-sttl {
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {
  .article-part-ttl-txt {
    font-size: 30px;
  }

  .article-itm-imgc {
    width: fit-content;
    height: 80px;
    margin-right: 15px;
  }

  .article-content-body img {
    width: 80%;
    height: fit-content;
  }

  .article-content-top-banner-img {
    width: 100%;
    height: fit-content;
  }
}

@media screen and (max-width: 550px) {
  .article-content-area {
    width: 85%;
  }

  .article-content-top-ttl {
    font-size: 20px;
  }

  .article-content-top-sttl {
    font-size: 13px;
  }
}

@media screen and (max-width: 400px) {
  .article-itm {
    width: 97%;
    padding: 3%;
  }

  .article-itm-ttl {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .article-itm-sttl {
    font-size: 12px;
  }
}