 /* CSS Document */

main {
	padding-bottom: 64px;
}

article {
	display: grid;
	grid-template-columns: 1fr min(var(--wrap-fit), 960px) 1fr;
	padding: 56px 0;
}

@media (min-width: 992px) {
	article {
		padding: 72px 0;
	}
}

article > * {
	grid-column: 2;
}

#detail #detailPhotos {
	grid-row: 3;
}

#detailHeader {
	display: grid;
	grid-gap: 16px;
}

@media (min-width: 992px) {
	#detailHeader {
		grid-gap: 32px;
	}
}

#detailHeader h2 {
	position: relative;
	margin-left: 24px;
	color: var(--color-variable);
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0.08em;
}

@media (min-width: 1200px) {
	#detailHeader h2 {
		margin-left: 0;
	}
}

#detailHeader h2:before {
	content: "";
	position: absolute;
	top: 10px;
	right: calc(100% + 32px);
	width: 100vw;
	height: 28px;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 10"><circle cx="6.5" cy="1.5" r="1.5"/></svg>') top right;
	-webkit-mask-size: 8px 10px;
}

#detailHeader h2 + div {
	order: -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	grid-gap: 8px;
}

#detailHeader time {
	margin-right: 4px;
	font-size: 13px;
	letter-spacing: 0.05em;
}

#detailHeader ul {
	display: contents;
}

#detailHeader li {
	display: grid;
	align-items: center;
	min-width: 60px;
	height: 16px;
	padding: 0 8px;
	border: 0.5px solid currentColor;
	border-radius: 2px;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.05em;
	text-align: center;
}

#detailHeader li.tagCheck {
	border: none;
	background: #4681b3;
	color: #fff;
	text-transform: uppercase;
}

#detailHeader li.tagNew {
	border: none;
	background: #cd5257;
	color: #fff;
	text-transform: uppercase;
}

#detailText{
	margin-top: 24px;
	}

#detailLinks {
	margin-top: 64px;
}

@media (min-width: 922px) {
	#detailLinks {
		margin-top: 80px;
	}
}

#detailLinks h3 {
	display: none;
}

#detailLinks ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-gap: 16px 24px;
}

@media (min-width: 922px) {
	#detailLinks ul {
		grid-gap: 56px;
	}
}

#detailLinks li {
	display: contents;
}

#detailLinks a {
	display: grid;
	grid-template-columns: 1fr 24px;
	grid-gap: 8px;
	align-items: center;
	width: min(100%, 280px);
	min-height: 64px;
	padding: 4px 16px 4px 24px;
	border-radius: 32px;
	border: 1px solid currentColor;
	color: inherit;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
}

#detailLinks a:before,
#detailLinks a:after {
	grid-column: 2;
	grid-row: 1;
	content: "";
	aspect-ratio: 1;
}

#detailLinks a:before {
	background: var(--color-variable);
	border-radius: 100%;
}

#detailLinks a:after {
	background: #fff;
	-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.81,11.4l-4.38-4.38c-.33-.33-.86-.33-1.19,0-.33.33-.33.86,0,1.19l2.79,2.79H6.93c-.55,0-.99.45-.99.99s.44.99.99.99h8.1l-2.79,2.79c-.33.33-.33.86,0,1.19.16.16.38.25.6.25s.43-.08.6-.25l4.38-4.38c.33-.33.33-.86,0-1.19Z"/></svg>') center no-repeat;
	-webkit-mask-size: contain;
}

#detailDocuments {
	justify-self: center;
	width: min(100%, 720px);
	margin-top: 64px;
}

@media (min-width: 922px) {
	#detailDocuments {
		margin-top: 80px;
	}
}

#detailDocuments h3 {
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.08em;
}

#detailDocuments h3 + div {
	margin-top: 8px;
}

#detailDocuments ul {
	display: grid;
	grid-gap: 8px;
}

#detailDocuments li {
	display: contents;
}

#detailDocuments a {
	display: grid;
	grid-template-columns: 1fr 24px;
	align-items: center;
	min-height: 32px;
	padding: 4px 16px;
	border-radius: 2px;
	border: 1px solid var(--color-border);
	color: inherit;
	letter-spacing: 0.05em;
	text-decoration: none;
}

#detailDocuments a:after {
	content: "";
	aspect-ratio: 1;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.6,14.6c-.43,0-.78.35-.78.78v5.22H3.18v-5.22c0-.43-.35-.78-.78-.78s-.78.35-.78.78v6c0,.43.35.78.78.78h19.2c.43,0,.78-.35.78-.78v-6c0-.43-.35-.78-.78-.78ZM11.41,16.82c.33.33.86.33,1.18,0l4.33-4.33c.33-.33.33-.85,0-1.18-.33-.33-.85-.33-1.18,0l-2.76,2.76V6.05c0-.54-.44-.98-.98-.98s-.98.44-.98.98v8.02l-2.76-2.76c-.33-.33-.86-.33-1.18,0-.16.16-.24.38-.24.59s.08.43.24.59l4.33,4.33Z"/></svg>') center no-repeat;
	-webkit-mask-size: contain;
	transform: translateX(8px);
}

#detailPhotos {
	grid-gap: 32px 24px;
	display: grid;
	margin-top: 40px;
	overflow: hidden;
}

@media (min-width: 768px) {
	#detailPhotos {
		display: flex;
	}
}

@media (min-width: 922px) {
	#detailPhotos {
		margin-top: 54px;
	}
}

#detailPhotos figure {
	display: grid;
	align-content: start;
	grid-gap: 8px;
	overflow: hidden;
}

#detailPhotos figcaption {
	font-size: 15px;
	letter-spacing: 0.05em;
}

#pagenation {
	margin-bottom: 56px;
}

@media (min-width: 992px) {
	#pagenation {
		margin-bottom: 72px;
	}
}

.pswp__counter{
	display: none;
}



