/**********************************************************************/
/******************************* Text ********************************/
/**********************************************************************/

#news
{
	padding-bottom: max(10vw, 10rem);
}

#news div.news_wrapper
{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.title_category
{
	position:sticky;
	top: 5rem;
}

.title_category h1 a,
.title_category h2 a
{
	border-bottom: none;
}

#caterories
{
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#caterories > div
{
	display:flex;
	flex-direction: column;
}

#caterories a.cat
{
	display: flex;
	flex-wrap: nowrap;
	white-space: nowrap;
	align-items: center;
	margin-bottom: .5em;
	font-size: 1rem;
}

#caterories a.cat .ch
{
	flex-grow:0;
	flex-shrink:0;
	width: .9rem;
	height: .9rem;
	border: 1px solid;
	margin-right: .5em;
}

#caterories a.cat._n .ch:before
{
	content:"";
	display:block;
	position: absolute;
	border-style: solid;
	width: .3em;
	height: .5em;
	border-width: 0px 2px 2px 0;
	transform: rotate(45deg) translateX(.1em) translateY(-.15em);
}

#news .cont
{
	margin-top:2rem;
	width:calc(100% - 10rem);
}

.news_list .news
{
	padding-bottom: 2rem;
	display: flex;
	align-items:center;
	flex-wrap:wrap;
}

.news_list .news + .news
{
	padding-top: 2rem;
	border-top: 1px solid rgb(220, 220, 220);
}

.news_list .news ._f
{
	display: block;
	border: 1px solid rgb(255, 255, 255);
	margin-right: max(3vw,2rem);
	width: clamp(200px, 35%, 350px);
	aspect-ratio: 4 / 3;
	overflow:hidden;
}

.news_list .news ._f figure
{
	width: 100%;
	height: 100%;
	background-color: rgba(80, 80, 80, .2);
	background-image: url(../_img/logo_noimg.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50%;
	
	transition: transform .3s ease;
}

.news_list .news figure > img
{
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

body:not(.touch) .news_list .news ._f:hover figure
{
	transform: scale(1.05);
}

.news_list .news > .text
{
	flex: 1 0 0;
	display: flex;
	flex-direction:column;
	align-items: flex-start;
}

.news_list .news > .text:hover
{
	color: rgb(80, 80, 80);
}

.news_list .date_cate
{
	font-size: max(.9rem, .7em);
}

.news_list .date_cate > span:nth-of-type(1)
{
	padding-right: 1em;
	margin-right: 1em;
	border-right: 1px solid;
}

.news_list .news h3
{
	width:100%;
	font-size: clamp(1.1rem, 3vw, 1.2rem);
	margin: .25em 0 .5em;
	border-bottom: 1px solid;
}

.news_list .news .moreBt
{
	margin-top: 1em;
	font-size: .8em;
}

/*//////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA SCREEN ////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 650px)
{
	#news .news
	{
		flex-direction:column;
	}

	#news .news > .text
	{
		margin-bottom: 1em;
	}
	
	#about .cont > .text
	{
		width: 100%;
		margin-bottom: clamp(4rem, 10vw, 8rem)
	}

	#news > div
	{
		flex-direction: column;
	}
	#news .cont
	{
		width: 100%;
	}
	
	.news_list .news ._f
	{
		margin-bottom: 1rem;
		margin-right: 0;
		width: 100%;
		aspect-ratio: 5 / 3;
	}
	
	.title_category
	{
		position: static;
		width: 100%;
		border-bottom: 1px solid;
		padding-bottom: 1rem;
	}
	
	#caterories
	{
		overflow-x: auto;
		overflow-y: hidden;
		width: calc(100% + 1rem);
		margin-left: -.5rem;
		margin-bottom: 0;
		margin-top: 0rem;
	}
	
	#caterories > div
	{
		flex-direction: row;
	}
	#caterories a.cat
	{
		margin: .5rem;
	}
	
}