

/*————————————————————————————————————————————————————————————————————————————————————————————————*/
/* VYPIS CLANKU             													                                            */
/*————————————————————————————————————————————————————————————————————————————————————————————————*/

/* Obsah —————————————————————————————————————————————————————————————————————————————————————————*/
.content-section1 {
  padding: 5rem 0;
}

.content-grid1 {
  grid-template-columns: 1fr;
  justify-content: center;
  justify-items: center;
  display: grid;
  gap: 2rem;
}
 
.articles-container {
  grid-template-columns: 1fr;
  flex-direction: column;
  display: flex;
  gap: 2rem;
}

.article-content img {
  height: auto !important;
  width: auto !important;
  max-width: 100%;
}

.main-content-articles{
	border-bottom: 1px solid #e5e7eb;
}

.article-content-grid-border{
	border: 1px solid #e5e7eb;
	background-color: white;
	padding: 2rem !important;
	border-radius: 1rem;
}

.article-image {
  background: linear-gradient(135deg, #2bbfbd 0%, #3fd9d7 100%);
  position: relative;
  object-fit: cover;
  height: 200px;
  width: 100%;
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  margin-bottom: .25rem;
  font-size: 0.875rem;
  align-items: center;
  color: #6b7280;
  display: flex;
  gap: 1rem;
}

.article-category {
  background: rgba(43, 191, 189, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
  color: #2bbfbd;
}

.article-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.article-title-vypis {
  margin-bottom: 0.75rem;
	text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.article-excerpt {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #6b7280;
	margin-top: 1rem;
}

.article-footer {
  border-top: 1px solid #f3f4f6;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  display: flex;
}

.article-author {
  align-items: center;
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  gap: 0.5rem;
}

.article-read-time {
  font-size: 0.875rem;
  align-items: center;
  color: #6b7280;
  display: flex;
  gap: 0.25rem;
}


/* Sidebar ———————————————————————————————————————————————————————————————————————————————————————*/

.sidebar {
  flex-direction: column;
  display: flex;
  gap: 1.25rem;
}

.widget {
	border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background: white;
  padding: 2rem;
}

.widget-title {
  margin-bottom: 1.5rem;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  gap: 0.5rem;
}

.widget-title i {
  color: #2bbfbd;
}

.categories-list {
  flex-direction: column;
  display: flex;
  gap: 0.75rem;
}

.category-item {
  justify-content: space-between;
  border-radius: 0.75rem;
  background: #f9fafb;
  text-decoration: none;
  transition: all 0.3s;
  align-items: center;
  padding: 0.75rem;
  color: #1f2937;
  display: flex;
}

.category-item:hover {
  background: rgba(43, 191, 189, 0.1);
  color: #2bbfbd;
}

.category-item-active {
  background: rgba(43, 191, 189, 0.1);
  color: #2bbfbd;
}

.category-count {
  background: transparent;
  padding: 0.25rem 0rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.popular-articles {
  flex-direction: column;
  display: flex;
  gap: 1rem;
}

.popular-article {
  text-decoration: none;
  transition: all 0.3s;
	cursor: pointer;
  color: inherit;
  display: flex;
  gap: 1rem;
}

.popular-article:hover {
  color: #2bbfbd;
}

.popular-article-image {
  background: linear-gradient(135deg, #2bbfbd 0%, #3fd9d7 100%);
  border-radius: 0.5rem;
	object-fit: cover;
  flex-shrink: 0;
  height: 4rem;
  width: 4rem;
}

.popular-article-content {
	justify-content: center;
	flex-direction: column;
	display: flex;
	flex: 1;
}

.popular-article-title {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.popular-article-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.featured-article {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
  grid-column: 1 / -1;
  background: white;
  overflow: hidden;
}

.featured-article-content {
  grid-template-columns: 1fr;
  display: grid;
  gap: 2rem;
}

.featured-article-image {
  background: linear-gradient(135deg, #2bbfbd 0%, #3fd9d7 100%);
  position: relative;
  overflow: hidden;
  height: 300px;
  width: 100%;

}
.featured-article-text {
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  display: flex;
}

.featured-badge {
  padding: 0.375rem 1rem;
  display: inline-block;
  border-radius: 9999px;
  background: #2bbfbd;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  width: fit-content;
  font-weight: 500;
  color: white;
}

.featured-article-title {
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  font-size: 2rem;
}

.featured-article-excerpt {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6b7280;
}

.featured-article-meta {
  margin-bottom: 1.5rem;
  align-items: center;
  color: #6b7280;
  display: flex;
  gap: 1rem;
}


/* Responzivita ——————————————————————————————————————————————————————————————————————————————————*/

/* min-width: 768px */
@media (min-width: 768px) {
  .featured-article-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* min-width: 1024px */
@media (min-width: 1024px) {
  .content-grid1 {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

/* max-width: 380px */
@media (max-width: 380px) {
	.articles-container, .sidebar{
		max-width: 90% !important;
	}
}