/*articles*/
.home_articles {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	
}
.home_articles  .wrapper {
	width: 100%;
    min-height: 300px;
    position: relative;
	display: flex;
	flex-direction: row;
}
.home_articles  .wrapper .buttons {
	display: flex;
	width: 100%;
	flex-direction: row;
	position: absolute;
	justify-content: space-between;
	z-index: 6;
	top: 120px;
  pointer-events: none;
}
.home_articles  .wrapper .buttons  button {
	pointer-events: all;
}
.home_articles .article_topics {
  width: 100%;
  min-height: 300px;
  display: flex;
  
  flex-direction: row;
  gap: 20px;

  /*overflow-x: auto;*/
  overflow-y: hidden;

  scroll-behavior: smooth;
}


.home_articles .home_article_topic {
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px var(--item-border-color) solid;
  font-weight: 500;
  color: var(--item-link-color);
  background: var(--item-bg);
  transition: 250ms;

  &:hover {
    color: var(--item-link-color-hover);
	background: var(--item-bg-hover);
  }
  &:focus {
    color: var(--item-link-color-hover);
	background: var(--item-bg-hover);
  }
}
.home_articles .home_article_topic img {
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 280px;
  height: 186px;
  transition: 250ms;
  
  &:hover {
   transform: scale(1.2);
  }
  &:focus {
   transform: scale(1.2);
  }
}
.home_articles .home_article_topic section.image {
  display: flex;
  width: 100%;
  height: 186px;
  overflow: hidden;
}
.home_articles .home_article_topic .data {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  top: 150px;
  padding: 10px;
  margin: 10px;
  border-radius: 6px;
  background: var(--item-data-bg);
  color: var(--item-data-color);
  
}
.home_articles .text {
  
  display: flex;
  padding: 14px;
  
  
}
.home_articles section.text h4 {
  font-size: var(--font-size);
  padding-top: 0;
  margin-top: 0;
}

/*article list*/
.article_list {
  display: flex;
  flex-direction: column;
  gap:20px;
  padding-bottom: 10px;
  padding: 0;
  margin: 0;
}
.article_list_topics {
  display: flex;
  flex-direction: column;
  gap:20px;
}
.list_article_topic {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap:20px;
  width: 100%;
  padding: 0;
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px var(--item-border-color) dotted;
}
.list_article_topic figure.image {
  display: flex;
  position: relative;
  width: 300px !important;
  border-radius: 5px;
  overflow: hidden;
  border:  1px var(--item-border-color) dotted;
  padding: 0;
  margin: 0;
}
.list_article_topic figure.image img {
  display: block;
  width: 300px;
  height: 143px;
  object-fit: cover;
  object-position: top center;
  transition: 350ms;
  
  &:hover {
   transform: scale(1.2);
  }
  &:focus {
   transform: scale(1.2);
  }
  
}
.list_article_topic section.text {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
}
.list_article_topic section.text h4 {
  font-size: var(--font-size);
  padding-top: 0;
  margin-top: 0;
}
.list_article_topic section.text p {
  margin: 0;
  padding: 0;
}
.list_article_topic div.data.no_mobile {
  display: flex;
  align-items: center;
  position: absolute;
  flex-direction: row;
  gap: 10px;
  z-index: 3;
  bottom: 0;
  padding: 10px;
  margin: 10px;
  border-radius: 6px;
  background: var(--item-data-bg);
  color: var(--item-data-color);
 } 
 .list_article_topic div.data2.no_mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  
  margin: 10px;
  
 } 
 .list_article_topic div.data .material-symbols-outlined, .list_article_topic div.data2 .material-symbols-outlined {
  font-size: 24px;
 }
.list_article_topic a {
  color: var(--item-link-color);
  transition: 120ms;
  &:hover {
    color: var(--item-link-color-hover);
  }
  &:focus {
    color: var(--item-link-color-hover);
  }
}
.list_article_topic a:focus img {
  transform: scale(1.2);
}

/* artcle page */

.article_data {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100% !important;
  
}
.article_data .material-symbols-outlined {
  font-size: 24px;
}
.article_data section {
  display: flex;
  flex-direction: row;
  gap:10px;
  align-items: center;
  
}
.article_data section > section {
  display: flex;
  flex-direction: row;
  align-items: center;
  
}
.article_links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
  width: 100%;
}
.article_links .material-symbols-outlined {
  font-size: 24px;
}
.article_links section {
  display: flex;
  flex-direction: row;
  gap:10px;
  align-items: center;
}

.banner_data {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.article_data a {
  color: var(--item-link-color);
  transition: 120ms;
  &:hover {
    color: var(--item-link-color-hover);
  }
  &:focus {
    color: var(--item-link-color-hover);
  }
}

/* pager */
.pager {
  display: flex;
  gap: 10px;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: center;
}

/* different inner designs */
.article_content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article_content ul li {
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
  background: #fff;
}




.article_content ol {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.article_content ol li {
  counter-increment: item;
  position: relative;
  padding-left: 42px;
  margin-bottom: 18px;
  line-height: 1.7;
  color: #333;
}

.article_content ol li:last-child {
  margin-bottom: 0;
}

.article_content ol li::before {
  content: counter(item);
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.85rem;
  font-weight: 600;
}


/*titles*/
.article_content h3 {
  font-size: 1.45rem;
  line-height: 1.3;
  font-weight: 700;
}



@media screen and (min-width: 1px) and (max-width: 1280px) { /*Mobile devices*/
 .list_article_topic figure.image {
  width: 200px !important;
  height: 140px !important;
 }
 .list_article_topic figure.image img {
  width: 200px !important;
  height: 140px !important;
 }

 .list_article_topic div.data.mobile_only {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  width: fit-content;
  gap: 10px;
  
  padding: 10px;
  margin: 10px;
  margin-left: -10px !important;
  margin-right: -10px !important;
  margin-top: -10px !important;
  border-radius: 6px;
  
 } 
 .article_content figure {
  width: 100%;
  display: flex;

 }
 .article_content figure img {
  width: 100%;
  display: block;
  
 }
 
}