/*
* Article
*/

.article_content{
	min-width: 420px;
	margin: 20px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 15px;
}
.article_content:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}
.article_content .article_img{
	width: 100%;
	min-height: 240px;
	background-repeat: no-repeat;
	background-size: 100%;
	position: relative;
	aspect-ratio: 16/9;
	border-radius: 15px 15px 0 0;
}
.article_content .label{
	text-align: left;
	padding: 10px 15px;
	border-radius: 0 0 15px 15px;
	box-shadow: 0px -10px 16px 1px rgba(0,0,0,0.23);
	-webkit-box-shadow: 0px -10px 16px 1px rgba(0,0,0,0.23);
	-moz-box-shadow: 0px -10px 16px 1px rgba(0,0,0,0.23);
}
.article_content .date {
	font-size: 0.77em;
}
.article_content .date svg {
	width: 14px;
	height: 14px;
}
.article_content .label div{
	/*white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;*/
}
.article_content_noimg{
	min-width: 250px;
	margin: 20px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.article_content_noimg:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}
.article_content_noimg .label{
	min-width: 250px;
	margin: 20px;
}

/* Articles Grid Container */
.articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	padding: 20px;
	max-width: 1400px;
	margin: 0 auto;
}

/* Articles Section */
.line_ctext{
	text-align: center;
	margin-bottom: 2rem;
}
.line_ctext div {
	height: 5px;
	border-radius: 30px;
	width: 80px;
	margin: 0 auto;
	margin-top: 13px;
}
.line_ctext b {
	font-size: 2em;
	margin-bottom: 13px;
}

/* Articles Footer */

.article-footer {
	margin-top: 2rem;
	margin-bottom: 2rem;
	text-align: center;
}

.article-footer a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--link-color, #3b82f6);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.article-footer a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.article-footer a:hover {
	color: var(--link-hover-color, #1d4ed8);
	background: var(--link-hover-bg, #dbeafe);
	border-color: var(--link-hover-border, #93c5fd);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.article-footer a:hover::before {
	left: 100%;
}

.article-footer a:hover::after {
	transform: translateX(3px);
}

.article-footer a:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

/* Error Message */
.error-message {
	text-align: center;
	padding: 2rem;
	color: var(--text-light, #6b7280);
	font-style: italic;
	border: 1px dashed var(--border-color, #e2e8f0);
	border-radius: 8px;
	background: var(--surface-bg, #f9fafb);
}

/* Responsive Design */

/* Large Desktop (>= 1200px) - 4 columns */
@media (min-width: 1200px) {
	.articles-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
	}
	
	.article_content {
		min-width: auto;
		margin: 0;
	}
	
	.article_content_noimg {
		min-width: auto;
		margin: 0;
	}
	
	.article_content_noimg .label {
		min-width: auto;
		margin: 0;
		padding: 20px;
	}
}

/* Desktop (1024px - 1199px) - 3 columns */
@media (min-width: 1024px) and (max-width: 1199px) {
	.articles-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
	
	.article_content {
		min-width: auto;
		margin: 0;
	}
	
	.article_content_noimg {
		min-width: auto;
		margin: 0;
	}
	
	.article_content_noimg .label {
		min-width: auto;
		margin: 0;
		padding: 18px;
	}
}

/* Tablet (768px - 1023px) - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
	.articles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
		padding: 16px;
	}
	
	.article_content {
		min-width: auto;
		margin: 0;
	}
	
	.article_content .article_img {
		min-height: 200px;
	}
	
	.article_content_noimg {
		min-width: auto;
		margin: 0;
	}
	
	.article_content_noimg .label {
		min-width: auto;
		margin: 0;
		padding: 16px;
	}
	
	.line_ctext b {
		font-size: 1.75em;
	}
}

/* Mobile (< 768px) - 1 column */
@media (max-width: 767px) {
	.articles-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 12px;
	}
	
	.article_content {
		min-width: auto;
		margin: 0;
	}
	
	.article_content .article_img {
		min-height: 180px;
	}
	
	.article_content .label {
		padding: 12px;
	}
	
	.article_content_noimg {
		min-width: auto;
		margin: 0;
	}
	
	.article_content_noimg .label {
		min-width: auto;
		margin: 0;
		padding: 12px;
	}
	
	.line_ctext {
		margin-bottom: 1.5rem;
	}
	
	.line_ctext b {
		font-size: 1.5em;
	}
	
	.line_ctext div {
		width: 60px;
		height: 4px;
		margin-top: 10px;
	}
	
	.article-footer a {
		font-size: 0.875rem;
		padding: 0.625rem 1.25rem;
	}
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
	.article_content .article_img {
		min-height: 160px;
	}
	
	.line_ctext b {
		font-size: 1.25em;
	}
	
	.article-footer {
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
	}
}