* {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
}

/* ----- latest articles style ----- */

section {
  width: 960px;
  height: auto;
  /* background-color: #d6d4da; */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-section-header {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-header-title {
  font-size: 2.5rem;
  font-weight: 800;
  font-style: normal;
  text-transform: capitalize;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  cursor: default;
}

.section-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  text-transform: capitalize;
  color: #d6d4da;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  transition: color 0.4s;
}

.section-header-btn img {
  margin-left: 0.35rem;
  width: 0.55rem;
  height: auto;
}

.section-header-btn:hover {
  color: #edecef;
  background: linear-gradient(
    135deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
}

.section-header-btn:focus {
  outline: none;
}

.article-slide-container {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.8rem;
}

.article-slide-text {
  width: 430px;
  height: auto;
  display: block;
}

.cat-btn {
  padding: 0.3rem 0.8rem;
  border-radius: 0.2rem;
  border: none;
  margin-bottom: 0.5rem;
  font-size: 0.6rem;
  font-weight: bold;
  font-style: normal;
  text-transform: uppercase;
  color: #d6d4da;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  cursor: pointer;
  transition: color 0.4s;
}

.cat-btn:hover {
  color: #edecef;
  background: linear-gradient(
    135deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
}

.article-slide-title {
  width: 400px;
  height: auto;
  font-size: 1.4rem;
  font-weight: bold;
  font-style: normal;
  color: #413852;
  text-transform: capitalize;
  line-height: 150%;
  margin-bottom: 0.5rem;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  cursor: default;
}

.article-slide-tags,
.article-card-tags {
  width: 180px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.article-slide-date img,
.article-slide-author img,
.article-card-date img,
.article-card-author img {
  margin-right: 0.3rem;
  width: 0.8rem;
  height: auto;
}

.article-slide-date,
.article-slide-author,
.article-card-date,
.article-card-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4d4260;
  font-size: 0.7rem;
  font-weight: 300;
  font-style: normal;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.article-slide-author b,
.article-card-author b {
  margin-left: 0.2rem;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-slide-description {
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  color: #4d4260ad;
  line-height: 160%;
}

.article-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  padding: 0.1rem 0.1rem;
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.article-more-btn img {
  margin-left: 0.3rem;
  width: 0.8rem;
  height: auto;
}

.article-more-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-more-btn:focus {
  outline: none;
}

.article-slide-img-container {
  width: 450px;
  height: 280px;
  border-radius: 1rem;
  background-color: #413852;
  background-image: url(/img/article-header-lg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-cards-list {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.article-cards-item {
  width: 280px;
  height: auto;
}

.article-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-cards-text {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.article-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  font-style: normal;
  color: #413852;
  text-transform: capitalize;
  line-height: 1.3rem;
  margin-bottom: 0.5rem;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 2.5rem;
}

.article-card-description {
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  color: #4d4260ad;
  line-height: 1.3rem;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 2.5rem;
  margin-bottom: 0.5rem;
}
