body {
	margin: 0;
	background-color: #FFF9E2;
	min-height: 100vh;
}

a {
	text-decoration: none;
	color: currentColor;
}

ul,
ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

ol {
	display: flex;
	font-size: 14px;
	margin: 20px 0;
	flex-wrap: wrap;
	padding: 0;
}

ol li {
	margin-right: 5px;
	margin-bottom: 5px;
}

ol li:after{
    content:'>';
    margin:0 5px 0 10px;
}
ol li:last-child:after{
    display:none;
}
ol li a:hover{
    color:#1A2810;
}
ol span {
	margin-right: 5px;
}

.flex-wrap {
	display: flex;
	flex-wrap: wrap;
}

.justify-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.text-center {
	text-align: center;
}

.mainContent {
    margin:0 auto;
    max-width:calc(100vw - 40px);
}

.left-border,
.right-border {
	width: 46px;
}

.container {
	width: 1280px;
	max-width: 100%;
	margin: 0 auto;
}

header {
	border-bottom: 1px solid #000;
	margin-bottom: 30px;
}

header ul {
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: bold;
	padding: 40px 0;
}

header ul li {
	margin-right: 20px;
}

.logo {
	max-height: 80px;
}

.body {
	padding: 20px;
	box-sizing: border-box;
	text-align: center;
	margin: 20px 0 80px;
}

.body h1 {
	color: #1A2810;
	font-size: 28px;
	font-weight: normal;
	margin: 10px auto 30px;
	display: inline-block;
	font-family: math;
	border-bottom: 1px dashed #000000;
}

.cardList {
	gap: 20px;
    margin:0 0 20px;
}

.card {
	width: calc(100% / 3 - 14px);
}

.card img {
	width: 100%;
	object-fit: cover;
	height: 300px;
    box-shadow:0 1px 2px 0 rgba(0,0,0,0.22);
    border-radius:5px;
}

.card .no-img {
	width: 100%;
	position: relative;
	height: 300px;
    background:url('/static/kayla/images/no.webp') center center no-repeat;
    background-size:auto 100%;
}
.msg-type{
    margin:0;
}
.msg-type a{
    margin:0 10px 0 0;
    border:1px solid #666;
    border-radius:5px;
    padding:2px 5px;
    display: inline-block;
    margin: 0 10px 10px 0;
    font-size:16px;
}
.msg-type a:hover{
    color:#1A2810;
    border:1px solid #1A2810;
}
.card h3 {
	margin: 10px 0;
}

.card p {
	margin: 10px 0;
    font-size: 13px;
    color: #333;
}

.card span {
	font-size: 14px;
	color: #4e4e4e;
}

.body h2 {
	color: #1A2810;
	font-size: 24px;
	font-weight: normal;
	margin: 0 auto 10px;
	display: inline-block;
	font-family: math;
	border-bottom: 1px dashed #000000;
}
.intro h2{
    color:inherit;
    border-bottom: inherit;
    margin:0;
}
.intro p{
    font-size:14px;
    margin:0 0 10px 20px;
    color:#333;

}

footer {
	padding: 20px 0;
	text-align: center;
    border-top:1px solid #000;
}

footer ul {
	display: flex;
	justify-content: center;
	align-self: center;
}

footer ul li {
	padding: 0 15px;
	border-right: 1px solid #000
}

footer ul li:last-child {
	border: none;
}
footer p{
    font-size:12px;
    color:#333;
}

.page-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
}

.page-navigation li {
	margin-right: 15px;
}

.page-navigation li a {
	display: block;
	width: 40px;
	height: 40px;
	background-color: #85a087;
	color: #fff;
	border-radius: 5px;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.page-navigation li a:hover {
	background-color: #1A2810;
}

.page-navigation li a.active {
	background-color: #1A2810;
}

.blogMain {
	font-size: 17px;
	color: #000;
	padding: 30px 0;
	line-height: 1.6;
	text-align: start;
}

.blogMain h2 {
	font-family: math;
	color: #000;
	font-weight: normal;
	border-bottom: none;
}
.blogMain h3,.blogMain h2{
    margin:10px 0 5px;
}
.blogMain a {
	color: #000;
	text-decoration: underline;
}

.blogMain a:hover {
	color: #000;
}

.blogMain p {
	margin:0 0 1em;
    padding:0 0 0 20px;
    font-size:16px;
}

.blogMain ul {
	list-style: disc;
	margin: 0 0 1.5em 2em;
}

.blogMain section {
	padding: 0 0 30px;
}

.blogMain img{
	max-width: 100%;
}

ol {
	display: flex;
	padding: 0;
	flex-wrap: wrap;
}

.restList-title h1 {
	font-size: 32px;
	font-weight: bold;
	text-align: center;
	color: #1A2810;
	font-family: math;
}

.restList-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.restList-banner h1 {
	margin-bottom: 10px;
}

.restList-banner .share-list {
	display: flex;
	align-items: center;
	gap: 10px;
}

.share-list a{
    border:1px solid #666;
    border-radius:5px;
}
.share-list a img{
    width:30px;
    height:30px;
    display:block;
}
.restList-review {
	display: flex;
	gap: 5px;
	align-items: center;
	margin-bottom: 10px;
	flex-wrap: wrap;
    font-size: 14px;
    color: #333;
}

.restList-review a {
	font-weight: bold;
}

.between-line {
	color: #e0e0e0;
}

.massage-list {
	display: flex;
	align-items: center;
	padding: 0;
	flex-wrap: wrap;
}

.message-item {
	display: flex;
	align-items: center;
	padding: 0 10px 0 0;
	position: relative;
	margin: 0 10px 10px 0;
}

.message-item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	background-color: #000;
	height: 100%;
	width: 2px;
}

.message-item:first-child {
	padding-left: 0;
}

.message-item.add a {
	text-decoration: underline;
}

.message-item:hover {
	text-decoration: underline;
}


.rest-detail .container {
	padding: 16px 0;
}

.restaurantImg {
	width: calc(70% - 20px);
	text-align: center;
	border-radius: 5px;
	overflow: hidden;
}

.restaurantImg img {
	width: 100%;
	display: block;
	max-height: 550px;
	object-fit: cover;
	height: 100%;
}

.mapItem {
	margin: 50px 0;
	box-sizing: border-box;
}

.mapItem h2 {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 10px;
	font-family: math;
	color: #1A2810;
}

.reviews-section h2{
	font-family: math;
	color: #1A2810;
}

.callUs h3 {
	font-family: math;
	color: #1A2810 !important;
}

.blog-section h2{
	font-family: math;
	color: #1A2810;
}

.top-content {
	margin-top: 0;
    display:flex;
}

.mapItem iframe {
	height: 500px;
	margin-right: 20px;
	border-radius: 5px;
	border: none;
	flex-shrink: 0;
	width: 100%;
}

.map-content {
	display: flex;
	align-items: center;
	width: 100%;
	flex-wrap: wrap;
    height:500px;
}

.restaurantImg {
	margin-left: unset !important;
}

.top-content:not(:has(.hoursItem)) .restaurantImg {
	width: 100%;
}

.hoursItem {
	padding: 20px;
	box-sizing: border-box;
	border: 1px solid #CCC;
	border-radius: 5px;
	font-size: 16px;
	line-height: 2;
    width:calc(30%);
}

.hoursItem h2 {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 0;
}

.hoursItem .date {
	font-weight: bold;
}


.rating-summary {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.rating-score {
	font-size: 2em;
	font-weight: 400;
	margin-right: 20px;
	text-align: center;
}

.score {
	font-size: 56px;
}

.total-reviews {
	font-size: 14px;
	color: #1a73e8;
}

.stars-bar {
	flex: 1;
	margin-right: 24px;
}

.stars-row {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.stars-row span {
	width: 20px;
}

.bar {
	flex: 1;
	height: 8px;
	background-color: #e0e0e0;
	margin-left: 10px;
	border-radius: 5px;
	overflow: hidden;
}

.filled {
	height: 100%;
	background-color: #ffc107;
	/* gold color for filled part */
}

.review-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}

.tag {
	background-color: #f1f1f1;
	padding: 5px 10px;
	border-radius: 15px;
	font-size: 0.9em;
}

.review {
	margin-top: 20px;
	padding: 15px;
	border-top: 1px solid #ddd;
}

.review-header {
	font-weight: bold;
	color: #333;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
}

.review-userType {
	margin-left: 10px;
}

.userType {
	color: #70757a;
	font-size: 14px;
}

.review-stars {
	color: #ffc107;
	display: flex;
	align-items: center;
	gap: 5px;
}

.review-text {
	color: #555;
}

.review-date {
	color: #6c6c6c;
}

.star {
	width: 24px;
	height: 24px;
	fill: #e0e0e0;
}

.userImg {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #8bd8f9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	text-transform: uppercase;
}

.menuBtn {
	display: none;
}


.nofound {
	margin-bottom: 100px;
	text-align: center;
}

.nofound img {
	margin: 20px auto;
	display: block;
	max-width: 100%;
}

.nofound p {
	font-size: 1.5rem;
	margin: 10px auto;
	display: inline;
}

.nofound a {
	font-size: 1.5rem;
	text-decoration: underline;
}

.nofound a:hover {
	text-decoration: underline;
}

.restaurantImg .no-img {
	position: relative;
	width: 100%;
	height: 550px;
}

.topIntro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin: 40px 0;
}

.intro {
	text-align: start;
	width: 50%;
}
.topIntro img {
	max-width: 45%;
	max-height: 400px;
	object-fit: cover;
	border-radius: 5px;
	display: block;
}

.state-list{
	padding:0 0 64px
}

.foot-state-list {
	display: flex;
	flex-wrap: wrap;
	font-size: 17px;
	color: #000;
	padding: 0;
	gap: 10px 0;
}

.foot-state-list li a:hover {
	text-decoration: underline;
}

.foot-state-list li {
	width: 25%;
}


.cityList,.areaList {
	display: flex;
	flex-wrap: wrap;
	margin: 10px 0;
    padding:10px 0;
    border-bottom:1px solid #CCC;
}

.cityList a,.keys a {
	margin: 0 10px 10px 0;
	color: #1A2810;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	border: none;
	padding: 5px 10px;
    display:inline-block;
}
.cityList a:hover,.cityList a.c,.keys a:hover,.keys a.c {
    background:#1A2810;
    color:#fff;
}

button.toggle-btn {
	border: none;
	margin: 0 10px 10px 0;
	background-color: transparent;
	color: #1A2810;
	box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
	padding: 5px 10px;
	box-shadow: none;
	cursor: pointer;
}

.left-state-tab{
    margin-bottom: 24px;
}

.left-state-list{
    margin: 0;
    list-style: none;
	border: 1px solid #000;
	padding: 16px;
    box-sizing: border-box;
}

.left-state-list a{
	margin: 0 0 10px;
	color: #000;
	display: block;
}
.left-state-list a:hover,li.active a{
    color:#1A2810;
}

.office-list{
	display: flex;
	flex-wrap: wrap;
}

.office-list-left{
	width: 25%;
	padding-right: 20px;
	box-sizing: border-box;
	text-align: start;
}

.office-list-left h2{
	margin-top: 0;
	border-bottom: none;
}

.office-list-right{
	width: 75%;
	box-sizing: border-box;
}


@media screen and (max-width:1200px) {



	.body {
		box-shadow: none;
		padding: 0;
	}
}
.message-item.add svg{
    width:20px;
    height:20px;
}
@media screen and (max-width:768px) {
	.intro {
		width: 100%;
	}
	.topIntro img {
		max-width: 100%;
	}
    .blogMain {
        padding:10px 0;
    }
    .body h1,.body h2{
        font-size:23px;
        padding:10px;
        line-height:1.3;
    }
	.office-list-left{
		width: 100%;
        padding:0;
	}
    .message-item.add svg{
        width:30px;
        height:30px;
    }
    .msg-type a{
        margin: 0 5px 5px 0;
        font-size:14px;
    }

    .mapItem iframe{
        height:350px;
    }
    .left-state-list{
        max-height:240px;
        overflow-y:auto;
    }
    .share-list a img{
        width:20px;
        height:20px;
        display:block;
    }
	.restList-review {
        margin:10px 0;
    }
	.office-list-right{
		width: 100%;
        
	}
    .restList-banner{
        display:block;
    }
    .restList-banner h1{
        font-size:25px;
        text-align:left;
    }
    .rest-detail h2{
        font-size:20px;
    }
	.foot-state-list li {
		width: calc(100% / 2);
	}
	.card {
		width: calc(50% - 10px);
	}

	.container {
		box-sizing: border-box;
	}

	.message-item:not(:last-child)::after {
		display: none;
	}
    .top-content {
        display:block;
    }
	.restaurantImg {
		width: 100%;
		margin-bottom: 20px;
	}
    .logo {
        max-height: 50px;
    }
    header {
        margin-bottom: 20px;
        padding:5px;
    }
	.hoursItem {
		width: 100%;
		margin: 0;
        font-size: 14px;
        padding:10px;
	}
    .restaurantImg img {
        max-height:350px;
    }

	.restList-banner {
		justify-content: center;
	}

	.menuBtn {
		display: block;
	}

	header ul {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100%;
		width: 40%;
		background-color: #9ebea1;
		display: block;
		z-index: 101;
		padding: 20px;
		transition: right 0.3s ease;
	}

	header ul.open {
		right: 0;
	}

	header ul li {
		margin-bottom: 20px;
	}
	
	footer ul{
		display: block;
	}
	
	footer ul li{
        padding: 5px 15px;
		border: none;
	}
    .page-navigation li a{
        width: 30px;
        height: 30px;
        font-size: 16px;
        line-height: 30px;
    }
    .page-navigation li {
        margin-right: 10px;
    }
}

@media screen and (max-width:530px) {
	.card {
		width: 100%;
	}
}


.dentalIntro{
	margin: 30px 0;
}

.dentalIntro p {
	display: inline-block;
	margin: 0 0 20px;
}

.dentalIntro ul {
	/* list-style: disc; */
	padding-left: 40px;
	margin-top: 0;
}

.dentalIntro li {
	margin: 5px 0;
}

i[s]{font-style:normal;color:#333;line-height:25px;margin:5px 0;white-space:nowrap;overflow:hidden;}
i[s] s{font-style:normal;margin:0 5px 0 0;}
i[s] s::before,i[s] s::after{display:inline-block;zoom:1.2;color: #EEE;}
i[s] s::before{color: #FC0;}
i[s="0"] s::after{content:'★★★★★';}
i[s="1"] s::before{content:'★';}
i[s="1"] s::after{content:'★★★★';}
i[s="2"] s::before{content:'★★';}
i[s="2"] s::after{content:'★★★';}
i[s="3"] s::before{content:'★★★';}
i[s="3"] s::after{content:'★★';}
i[s="4"] s::before{content:'★★★★';}
i[s="4"] s::after{content:'★';}
i[s="5"] s::before{content:'★★★★★';}

#mapdiv dd,#mapdiv dt{margin:0;}
#mapdiv{display:flex;overflow:hidden;}
#mapin{flex:0 0 60%;overflow:hidden;}
#mapdiv dd{flex:0 0 40%;overflow:hidden;max-height:500px;overflow-y:auto;}

#mapdiv dd a{text-decoration:none;color:#333;line-height:20px;display:block;height:80px;margin:0 5px 10px 0;padding:5px;background:#FFFFFF50;border-radius:7px;}
#mapdiv dd a:hover,#mapdiv dd a.c{background:#F8F8F8AA;color:#000000;box-shadow:0 1px 2px 0 rgba(0,0,0,0.22);}
#mapdiv dd a:last-child{margin:0 5px 2px 0;}
#mapdiv dd strong{font-size:16px;display:block;display: -webkit-box;    -webkit-line-clamp: 2;    -webkit-box-orient: vertical;    overflow: hidden;}
#mapdiv dd i{font-size:12px;display:block;white-space:nowrap;overflow:hidden;line-height:10px;}
#mapdiv dd p{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;}

#mapdiv dd img,#mapdiv dd a.ni::before{width:80px;height:80px;float:left;margin:0 10px 0 0;border-radius:5px;}
#mapdiv dd a.ni::before{display:block;content:'';background:#EEE;}
#mapdiv dd img{object-fit: cover;}

@media (max-width: 768px) {
    #mapdiv dd a{height:60px;}
    #mapdiv dd strong{font-size:14px;}
    #mapdiv dd img,#mapdiv dd a.ni:before{width:60px;height:60px;}
    #mapdiv dd p{display:none;}
}
@media (max-width: 480px) {
    #mapdiv{display:block;}
    #mapin{flex:0 0 65%;height:40vh;}
    #mapdiv dd{display:flex;overflow-x: auto;}
    #mapdiv dd a{flex:0 0 60%;margin: 0 5px 5px 0;}
    #mapdiv dd a:last-child {margin: 0 5px 2px 0;}
}


.dentalIntro {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    font-size: 14px;
}

.dentalIntro.max {
    max-height: inherit;
}

.dentalIntro.max .mo {
    display: none;
}

.dentalIntro.min::after {
    content: "";
    pointer-events: none;
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    height: 100px;
    z-index: 1;
    position: absolute;
    background: linear-gradient(to bottom, rgba(158, 190, 161,0), rgba(255, 249, 226));
}

.dentalIntro.max::after {
    display: none;
}
span.md,span.mo {
    display: block;
    margin: 20px auto 0;
    text-align: center;
    width: 120px;
    color: #FFF;
    background: #5d8360CC;
    cursor: pointer;
    border-radius: 5px;
    text-transform: Capitalize;
    font-size: 14px;
    line-height: 25px;
}

span.mo {
    position: Absolute;
    bottom: 0;
    transform: translate(-50%, 0);
    left: 50%;
    z-index: 2;
}

span.md::before,span.mo::before {
    content: 'more 'attr(s);
}

.det ul {
    margin: 0 0 10px;
    padding: 0;
    width: 50%;
    vertical-align: top;
    display: none;
}

.det ul:nth-child(1), .det ul:nth-child(2) {
    display: inline-block;
}

.det ul li {
    list-style: none;
    padding: 5px 0;
    margin: 0;
    font-size: 14px;
}

.det ul li h4 {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.det ul li p {
    width: 90%;
    line-height: 12px;
}

.det ul li u {
    text-decoration: none;
}

.det ul li u::before {
    content: ' / '
}
div.md,div.mo {
    display: block;
    margin: 20px auto 0;
    text-align: center;
    width: 120px;
    color: #FFF;
    background: #5d8360CC;
    cursor: pointer;
    border-radius: 5px;
    text-transform: Capitalize;
    font-size: 14px;
    line-height: 25px;
}

div.mo {
    position: Absolute;
    bottom: 0;
    transform: translate(-50%, 0);
    left: 50%;
    z-index: 2;
}

div.md::before,div.mo::before {
    content: 'more 'attr(s);
}

@media (max-width: 480px) {
    .det.menu ul {
        width:100%;
    }

    .det.menu ul li p {
        width: 100%;
    }

    .det.menu ul li:has(u) {
        display: flex;
    }

    .det.menu ul li u {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .det.menu ul li u::before {
        content: ''
    }

    .det ul li {
        font-size: 12px;
    }

    .det ul li h4 {
        font-size: 14px;
    }

    .det li[i]::before {
        width: 20px !important;
        height: 20px !important;
    }

    div.md,div.mo {
        font-size: 12px;
        width: 100px;
    }
}

.rest-detail{
    display: flex;
}
.rest-detail .container {
    flex: 1;
    width:auto;
}

#side {
    flex: 0 0 30%;
    margin:0 0 0 30px;
    overflow: hidden;
}

#side > h2:first-child,main >:first-child > h2:first-child {
    margin-top: 0 !important;
}

main > div:first-child {
    overflow: hidden;
    flex: 0 0 calc(70% - 30px);
    margin: 0;
}

#side h2 {
    margin: 20px 0 10px;
    font-size: 16px;
}

#side .clas a {
    display: block;
    margin: 0 0 0 20px;
    line-height: 30px;
}

#side .clas a.c {
    font-weight: bold;
}

#side .ls a {
    display: block;
    margin: 0 0 15px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#side .ls a::before {
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 5px;
    height: 5px;
    background: #333;
    border-radius: 50%;
    margin: -4px 5px 0 0;
}

#side .ls2 a {
    display: block;
    margin: 0 0 20px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px;
}

#side .ls2 a img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin: 0 10px 0 0;
    float: left;
}

#side .adr a {
    display: block;
    margin: 0 0 20px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px;
    position: relative;
}

#side .adr a img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin: 0 10px 0 0;
    float: left;
}

#side .adr i {
    line-height: 20px;
    background: #9ebea1;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 11px;
    width: calc(100% - 70px);
    margin: 0;
    color: #EEE;
}

#side .keys a {
    margin: 0 5px 5px 0;
    font-size: 13px;
}

@media (max-width: 900px) {
    .rest-detail {
        display:block;
    }

    #side {
        margin:0;
    }
    #side .adr a,#side .ls2 a {
        height:100px;
    }
    #side .adr i {
        width: calc(100% - 110px);
    }
    #side .adr a img,#side .ls2 a img {
        width: 100px;
        height: 100px;
    }
}

:root{--picKHeight:404px;--picgap:2px;--picHeight:200px}
.pics {background:color-mix(in srgb,var(--ah)50%,transparent);display: grid;border:5px solid var(--ah);height:var(--picKHeight);border-radius:5px;overflow:hidden;margin:0 0 40px;}
.pics img {display:none;width: 100%;height: 100%;object-fit: cover;overflow:hidden;transition: transform 0.3s ease;}
.pics img[n]{display:block;}
.pics img:hover {transform: scale(0.95);box-shadow:0 1px 2px 0 rgba(0,0,0,0.22);}
.pics{gap:var(--picgap);grid-template-columns: repeat(5, 1fr);grid-template-rows: repeat(2, var(--picHeight));grid-column-end: span 1;grid-row-end: span 1;}
.pics.n7{grid-template-columns: repeat(5, 1fr);}
.pics.n6{grid-template-columns: repeat(3, 1fr);}
.pics.n5{grid-template-columns: repeat(4, 1fr);}
.pics.n4{grid-template-columns: repeat(4, 1fr);grid-template-rows: repeat(1, var(--picKHeight));}
.pics.n3{grid-template-columns: repeat(3, 1fr);grid-template-rows: repeat(1, var(--picKHeight));}
.pics.n2{grid-template-columns: repeat(2, 1fr);grid-template-rows: repeat(1, var(--picKHeight));}
.pics.n1{grid-template-columns: repeat(1, 1fr);grid-template-rows: repeat(1, var(--picKHeight));}
.pics.n9 img:nth-child(2){grid-column-end: span 2;grid-row-end: span 1;}
.pics.n8 img:nth-child(2),.pics.n8 img:nth-child(6){grid-column-end: span 2;grid-row-end: span 1;}
.pics.n7 img:nth-child(2){grid-column-end: span 2;grid-row-end: span 2;}
.pics.n5 img:nth-child(2){grid-column-end: span 2;grid-row-end: span 2;}

body:has(#pics.show){overflow:hidden;}
#pics{position:relative;}
#pics i{display:none;position:absolute;background:#FFFFFF40;z-index:10;bottom:20px;padding:5px;left:50%;height:8px;border-radius:50px;transform: translate(-50%, -50%);}
#pics i s{vertical-align:top;display:inline-block;width:8px;height:8px;border-radius:4px;background:#000000AA;margin:0 3px;}
#pics i s.c{background:#ffffff;}
#pics u,#pics em{display:none;}
#pics.show{position:fixed;top:0;left:0;height:100%;z-index:20000;border:0;margin:0;width:100vw;}
#pics.show .pics{display:flex;gap:0;}
#pics.show .pics img{display:block;}
#pics.show u{display:inline-block;color:#FFF;transform: translate(-50%,0) rotate(0deg);position:absolute;left:50%;top:20px;text-decoration:none;}
#pics.show em{display:inline-block;color:#FFF;top:20px;position:absolute;left:40px;font-style:normal;text-decoration:none;cursor:pointer;z-index:10;}
#pics.show em svg{fill:#FFF;font-size:10px;height:20px;vertical-align:middle;}
#pics.show>div{margin:0;border:0;align-items: center;height:100vh;width:100vw;background:#000;}
#pics.show>div img{display: block;transform:scale(1);flex:0 0 80%;margin:0 10%;max-width: 100%;max-height: 100%;border-radius:0;object-fit:contain;}
#pics.show i{display:inline-block;}
@media (max-width: 922px) {
    :root{--picKHeight:305px;--picgap:5px;--picHeight:150px}
}
@media (max-width: 768px) {
    .pics img{display:block;}
    #pics i{display:block;}
    .pics{display:flex;gap:0;border-width:5px;cursor: grab;}
    .pics img:hover {transform: scale(1);}
    .pics img{flex:0 0 100%;margin:0;}
    :root{--picKHeight:410px;}
}
