@charset "utf-8";

/* ===================================================================
DISASTER
=================================================================== */

/* TEMPORARY DISASTER
--------------------*/

.d-temporary-disaster {
	margin: 0 0 40px;
}

.d-temporary-disaster-upper {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 15px;
	width: 100%;
	min-height: 52px;
	padding: 10px;
	color: #FFF;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .1em;
	background: #339999;
}

.d-temporary-disaster-lower {
	padding: 20px 20px 20px 30px;
	background: #F1F1EB;
}

.d-temporary-disaster-list {
	max-height: 300px;
	padding: 0 10px 0 0;
	overflow-y: auto;
}

.d-temporary-disaster-list::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

.d-temporary-disaster-list::-webkit-scrollbar-track {
	background: #FFF;
}

.d-temporary-disaster-list::-webkit-scrollbar-thumb {
	background: #339999;
}

@-moz-document url-prefix() {

	.d-temporary-disaster-list {
		scrollbar-width: thin;
		scrollbar-color: #339999 #FFF;
	}

}

.d-temporary-disaster-list > ul > li {
	display: grid;
  	gap: 10px;
}

.d-temporary-disaster-list > ul > li + li {
	margin: 15px 0 0;
	padding: 15px 0 0;
	border-top: 1px solid #D2D2D2;
}

.d-temporary-disaster-title {
	font-size: 16px;
	font-weight: 600;
}

/* INFO
--------------------*/

.d-disaster-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 25px;
}

/* DETAIL
--------------------*/

.d-disaster-layout {
	margin: 0 0 40px;
}

.d-disaster-heading {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: .1em;
}

@media screen and (max-width: 1023px) {

	/* ===================================================================
	DISASTER
	=================================================================== */

	/* TEMPORARY DISASTER
	--------------------*/

	.d-temporary-disaster {
		margin: 0 0 30px;
	}

	.d-temporary-disaster-upper {
		justify-content: flex-start;
		min-height: 40px;
	}

	.d-temporary-disaster-lower {
		padding: 20px 10px 20px 20px;
	}

	.d-temporary-disaster-list {
		max-height: 440px;
	}

	.d-temporary-disaster-time,
	.d-temporary-disaster-detail {
		font-size: 12px;
	}

	/* INFO
	--------------------*/

	.d-disaster-info {
		flex-direction: column;
		justify-content: flex-start;
		row-gap: 10px;
		margin: 0 0 25px;
	}

	.d-disaster-time {
		font-size: 12px;
	}

	/* DETAIL
	--------------------*/

	.d-disaster-layout {
		margin: 0 0 30px;
	}

	.d-disaster-heading {
		font-size: 18px;
	}

}