@charset "utf-8";

.earthquake-intro {
	margin-bottom: 42px;
}

.earthquake-lead {
	margin-bottom: 24px;
	font-size: 1.06em;
	line-height: 2;
}

.quick-actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.quick-action {
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 155px;
	padding: 18px 12px;
	border: 1px solid #89b8d8;
	background: #f7fbfe;
	text-align: center;
}

.quick-action:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -13px;
	z-index: 2;
	width: 12px;
	height: 12px;
	border-top: 2px solid #6aa6cf;
	border-right: 2px solid #6aa6cf;
	background: #fff;
	transform: translateY(-50%) rotate(45deg);
}

.quick-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #1672b4;
	color: #fff;
	font-size: 20px;
}

.quick-no {
	margin-bottom: 3px;
	color: #1672b4;
	font-weight: bold;
}

.quick-action strong {
	display: block;
	margin-bottom: 5px;
	color: #174965;
	line-height: 1.45;
}

.quick-action small {
	color: #666;
	line-height: 1.45;
}

.earthquake-heading {
	display: flex;
	align-items: center;
	gap: 10px;
}

.earthquake-heading-no,
.earthquake-heading-icon {
	flex: 0 0 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #1672b4;
	color: #fff;
	font-size: 17px;
	font-weight: bold;
}

.earthquake-heading-danger .earthquake-heading-no {
	background: #c83b3b;
}

.safety-card,
.danger-box,
.meter-panel,
.contact-box {
	box-sizing: border-box;
	margin: 18px 0;
	padding: 22px 24px;
	background: #fff;
}

.safety-card {
	border: 1px solid #8db9d8;
}

.safety-card-important {
	border-left: 6px solid #e28a1a;
	background: #fffaf3;
}

.safety-card-title {
	margin-bottom: 8px;
	color: #9b5d08;
	font-weight: bold;
}

.check-list {
	box-sizing: border-box;
	margin: 18px 0;
	padding: 18px 24px;
	border: 1px solid #8db9d8;
	background: #f7fbfe;
	list-style: none;
}

.check-list li {
	position: relative;
	margin: 0;
	padding: 10px 10px 10px 36px;
	border-bottom: 1px dotted #b8d3e6;
	line-height: 1.65;
}

.check-list li:last-child {
	border-bottom: 0;
}

.check-list li::before {
	content: "\2713";
	position: absolute;
	top: 8px;
	left: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1672b4;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}

.danger-box {
	border: 2px solid #d84b4b;
	background: #fff8f8;
}

.danger-alert {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 18px;
	padding: 14px 16px;
	background: #c83b3b;
	color: #fff;
}

.danger-alert>i {
	flex: 0 0 auto;
	font-size: 28px;
}

.danger-alert p {
	margin: 0;
	line-height: 1.6;
}

.danger-alert strong {
	font-size: 1.08em;
}

.action-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0;
	padding: 0;
	list-style: none;
}

.action-steps li {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 70px;
	padding: 10px 12px;
	border: 1px solid #e7a3a3;
	background: #fff;
	line-height: 1.45;
}

.step-number {
	flex: 0 0 29px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	border-radius: 50%;
	background: #c83b3b;
	color: #fff;
	font-weight: bold;
}

.danger-note {
	margin: 8px 0 0;
	color: #a51d1d;
	font-weight: bold;
}

.meter-panel {
	display: flex;
	align-items: center;
	gap: 22px;
	border: 1px solid #8db9d8;
	background: #f7fbfe;
}

.meter-panel-icon {
	flex: 0 0 82px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background: #e9f4fb;
	color: #1672b4;
	font-size: 34px;
}

.meter-panel-body {
	flex: 1 1 auto;
}

.meter-panel-title {
	margin-bottom: 7px;
	color: #075d9a;
	font-size: 1.1em;
	font-weight: bold;
}

.safety-button {
	display: inline-block;
	margin-top: 8px;
	padding: 11px 28px;
	border: 1px solid #1672b4;
	background: #1672b4;
	color: #fff !important;
	text-decoration: none;
}

.safety-button:hover {
	background: #0b5f9c;
}

.note-text {
	font-size: 0.95em;
}

.contact-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	border: 2px solid #d84b4b;
	background: #fff;
	text-align: center;
}

.contact-icon {
	flex: 0 0 66px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: #c83b3b;
	color: #fff;
	font-size: 26px;
}

.contact-company {
	margin-bottom: 5px;
	font-size: 1.2em;
	font-weight: bold;
}

.contact-tel {
	margin: 4px 0;
	font-size: 1.65em;
	font-weight: bold;
}

.contact-tel a {
	color: #c62828;
	text-decoration: none;
}

.contact-tel span {
	font-size: 0.65em;
}

.contact-hours {
	margin: 0;
	font-weight: bold;
}

.pdf-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.pdf-link {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	min-height: 210px;
	padding: 14px;
	border: 1px solid #8db9d8;
	background: #fff;
	text-decoration: none;
}

.pdf-link:hover {
	background: #f5faff;
}

.pdf-preview {
	display: block;
	overflow: hidden;
	border: 1px solid #ddd;
	background: #eee;
}

.pdf-preview img {
	display: block;
	width: 100%;
	height: auto;
}

.pdf-content {
	display: flex;
	flex-direction: column;
}

.pdf-title {
	color: #075d9a;
	font-weight: bold;
	line-height: 1.6;
}

.pdf-meta {
	display: inline-block;
	margin-top: 16px;
	color: #c62828;
	font-size: 0.95em;
	font-weight: bold;
}

@media screen and (max-width:900px) {
	.quick-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.quick-action:nth-child(2)::after {
		display: none;
	}
}

@media screen and (max-width:768px) {
	.action-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pdf-link {
		grid-template-columns: 105px minmax(0, 1fr);
		gap: 14px;
	}
}

@media screen and (max-width:480px) {
	.quick-actions {
		grid-template-columns: 1fr;
	}

	.quick-action {
		min-height: 0;
		padding: 16px 12px;
	}

	.quick-action:not(:last-child)::after {
		top: auto;
		right: 50%;
		bottom: -12px;
		width: 10px;
		height: 10px;
		transform: translateX(50%) rotate(135deg);
	}

	.quick-action:nth-child(2)::after {
		display: block;
	}

	.safety-card,
	.danger-box,
	.meter-panel,
	.contact-box {
		padding: 18px 15px;
	}

	.check-list {
		padding: 12px;
	}

	.action-steps {
		grid-template-columns: 1fr;
	}

	.action-steps li {
		min-height: 0;
	}

	.meter-panel {
		flex-direction: column;
		text-align: center;
	}

	.meter-panel-icon {
		width: 68px;
		height: 68px;
		flex-basis: 68px;
		font-size: 28px;
	}

	.safety-button {
		box-sizing: border-box;
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
	}

	.contact-box {
		flex-direction: column;
		gap: 12px;
	}

	.contact-tel {
		font-size: 1.4em;
	}

	.pdf-links {
		grid-template-columns: 1fr;
	}

	.pdf-link {
		grid-template-columns: 92px minmax(0, 1fr);
		min-height: 0;
		padding: 12px;
	}

	.earthquake-heading {
		align-items: flex-start;
	}

	.earthquake-heading-no,
	.earthquake-heading-icon {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
		font-size: 15px;
	}
}
