#kiosk-module {
	--pk-red : #991C2E;
	--pk-light: #fff3cc;
	--pk-white: #fff;
	--pk-brown: #432b0a;
	--pk-red-dark : #7c1321;
	
	--pk-font :  "Inter", sans-serif!important;
	
	--pk-content-padding: 30px;
	--pk-nav-bottom-padding: 170px;
	
	--pk-heading-lg:1.75rem;
	--pk-heading-md:1.35rem;
	--pk-heading-sm:1.15rem;
	--pk-text-size: 15px;
	
	--pk-min-h: 600px;
	--pk-h: 95vh;
	--pk-content-w: 1350px;
	--pk-container-padding: 50px;
	
	--pk-btn-radius: 4px;
	--pk-card-radius: 10px;
	
	--pk-radial-bg: radial-gradient(78.16% 61.94% at 50% 50%, rgba(255, 255, 255, 0) 63.02%, rgba(0, 0, 0, 0.2) 100%);
}

@media(max-width:980px){
	#kiosk-module {
		--pk-container-padding: 30px;
		--pk-nav-bottom-padding: 100px;
		
		--pk-heading-lg:1.55rem;
		--pk-heading-md:1.2rem;
		--pk-heading-sm:1.1rem;
	}
}

@media(max-width:768px){
	#kiosk-module {
		--pk-container-padding: 30px 20px;
	}
}
body {
	overflow-x:hidden;
}
#kiosk-module {
font-size:15px;
overflow: hidden;
color: var(--pk-text);

}
#kiosk-module h2, 
#kiosk-module h3, 
#kiosk-module h4 {
	font-weight: 700;
	line-height: 1.25;
	margin-bottom:0.35em;
	font-family: var(--pk-font);
	margin-top:0;
	color: var(--pk-text);
}

#kiosk-module h2, 
#kiosk-module .pk-heading-lg {
	font-size:var(--pk-heading-lg);
}
#kiosk-module h3 ,
#kiosk-module .pk-heading-md {
	font-size:var(--pk-heading-md);
}
#kiosk-module h4,
#kiosk-module .pk-heading-sm {
		font-size:var(--pk-heading-sm);
}
#kiosk-module p,
#kiosk-module .pk-text {
	font-size:15px;
	line-height: 1.4em;
	color: black;
}

#kiosk-module p:has(> br:only-child) {
display:none;
}

#kiosk-module strong {
	font-weight:800;
}
#kiosk-module .pk-red {
	color: var(--pk-red );
}
#kiosk-module .pk-white {
	color: var(--pk-white );
}

#kiosk-module p:last-child {
	margin-bottom:0
}

#kiosk-module .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#kiosk-module .sr-only:focus,
#kiosk-module .sr-only:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

#kiosk-module .pk-max {
	width: var(--pk-content-w);
	max-width: 100%;
	margin: auto;
}
#kiosk-module .pk-container--content {
	width: var(--pk-content-w);
	max-width: 100%;
	margin: auto;
	padding: var(--pk-container-padding);
	padding-bottom: var(--pk-nav-bottom-padding);
}

/** Helper / UI Styles **/

@media(min-width: 1024px){
	#kiosk-module .is-half-desktop {
		width: 50%;
	}
	#kiosk-module .is-third-desktop {
		width: 33.33%;
	}
	#kiosk-module .is-pulled-right ,
	#kiosk-module .is-half-desktop.is-pulled-right ,
	#kiosk-module .is-third-desktop.is-pulled-right {
		margin-left: auto;
		margin-right: 0;
	}
}


#kiosk-module *::-webkit-scrollbar {
  width: 8px;
}

#kiosk-module *::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 8px;
}

#kiosk-module *::-webkit-scrollbar-thumb {
  background: var(--pk-red );
  border-radius: 8px;
}

#kiosk-module *::-webkit-scrollbar-thumb:hover {
  background:  var(--pk-red-dark );
}

.pk-flex-row {
	display:flex;
	gap: 1rem;
}

#kiosk-module .pk-btn {
	background-color: var(--pk-red);
    color: #FFF;
	padding: 8px 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: var(--pk-btn-radius);
    border: 0;
    font-size: 1rem;
}
#kiosk-module .pk-btn:hover, 
#kiosk-module .pk-btn:focus {
	background-color: var(--pk-red-dark);
}

#kiosk-module .pk-btn.pk-btn-sm {
	padding: 5px 12px;
	font-size: 0.9rem;
}

#kiosk-module .pk-btn svg {
	height: 1em;
	width: auto;
}
#kiosk-module .pk-btn svg path {
	fill: #FFF;
}
#kiosk-module .pk-btn.pk-btn-rounded {
	border-radius: 50px;
}
#kiosk-module .content-box {
	border-radius: 20px;
	background: #fff;
	padding: 30px;
}


#kiosk-module .pk-card {
	background: #fff;
	box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
	padding: 25px;
	border-radius: var(--pk-card-radius);
    aspect-ratio: 3.5 / 2.5;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
}

#kiosk-module .pk-cards .pk-card  {
	width: 50%;
    max-width: 320px;
    min-width: 250px;
}

#kiosk-module  .card-action {
	text-align: right;
}
#kiosk-module  .card-action button,
#kiosk-module  .card-action a {
	color: var(--pk-red);
	text-transform:uppercase;
	font-weight: 700;
	letter-spacing: 0.02em;
	background-color: transparent;
	padding:0;
	border:0;
	text-decoration:none;
	font-size:var(--pk-text-size);
}
#kiosk-module  .card-action button:hover, 
#kiosk-module  .card-action  button:focus
#kiosk-module  .card-action a:hover, 
#kiosk-module  .card-action  a:focus {
	color: black;
	background-color: transparent;
	border:0;

}

@media(max-width:768px){
	#kiosk-module .content-box {
		border-radius: 15px;
		padding: 15px;
	}

}

/** Content Styles **/

#kiosk-module {
	position: relative;
	/*height: var(--pk-h);
	min-height: var(--pk-min-h);
	width: 100%;*/
	font-family: "Inter", sans-serif;
		
	width: 100svw;
	height: var(--pk-h);

	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50svw;
	margin-right: -50svw;
  
}

#kiosk-module .pk-h {
	min-height: 100vh;
}

/* Menu */
#kiosk-module.show-intro .kiosk-menu {
	width:0;
}
#kiosk-module .kiosk-menu-container {
	position: absolute;
	bottom: 60px;
	z-index: 5;
	max-width: 100%;
	display:flex;
	align-items:center;
	justify-content: center;
	width: 100%;
}
#kiosk-module .kiosk-menu {
	
	font-family: var(--pk-font );
	padding: 0 10px;
	transition: all 1s;
}


#kiosk-module .kiosk-menu > ul {
	background: white;
	border-radius: 50px;
	padding: 15px;
	padding-left: 0;
	display:flex;
	justify-content: center;
	align-items:center;

}
#kiosk-module.show-intro .kiosk-menu > ul li {
	opacity:0;
}

#kiosk-module .kiosk-menu  li {
	list-style:none;
	padding-left: 0;
	margin: 0 0.75em;
	opacity:1;
	transition: all 1s;
	transition-delay:1.2s;
	position: relative;
}
#kiosk-module .kiosk-menu  li a {
	font-weight: 600;
	text-transform: uppercase;
	padding: 0;
	border:0;
	background: transparent;
	color: black;
	position: relative;
	cursor: pointer;
}


#kiosk-module .kiosk-menu  .kiosk-sub-menu {
	display:none;
	background: var(--pk-red);
    color: #fff;
    padding: 15px;
    border-radius: 50px;
    position: absolute;
    bottom: calc(100% + 40px);
    right: 0;
}
#kiosk-module .kiosk-menu  li.pk-submenu-active .kiosk-sub-menu {

    display: inline-flex;
    
}
#kiosk-module .kiosk-menu  li.pk-submenu-active:after {
	content: '';
	width: 15px;
	height: 15px;
	position: absolute;
	bottom: 58px;
	left:0;
	right: 0;
	margin: auto;
	background: var(--pk-red);
	transform: rotate(45deg);
	display: inline-block;
}
#kiosk-module .kiosk-menu  .kiosk-sub-menu a {
	color: #fff;
	text-transform: none;
	white-space: nowrap;
}


#kiosk-module .kiosk-menu .kiosk-logo-container {
	border-radius: 100%;
	height: 125px;
	width: 125px;
	background: white;
	margin-top: -40px;
	margin-bottom: -40px;
	display:flex;
	justify-content: center;
	align-items:center;
	box-shadow: 0 10px 10px rgba(0,0,0,0.4);
	border: 1px solid #ddd;
	transform: scale(1);
	transition: all 1s;
	transition-delay:0.5s;
	cursor: pointer;
}
#kiosk-module.show-intro .kiosk-menu .kiosk-logo-container {
	transform: scale(0);
	cursor: pointer;
}

#kiosk-module .kiosk-menu .kiosk-logo-container img {
	width: 90px;
	height: auto;
}

#pk-menu-toggle {
	background-color: #fff;
	color: #000;
	box-shadow: 0 10px 10px rgba(0,0,0,0.4);
	padding: 10px;
	border-radius: var(--pk-btn-radius);
	position: absolute;
	bottom: 10px;
	left: 15px;
	right: auto;
	margin: auto;
	z-index: 20;
	width: 100px;
	border:0;
}
#pk-menu-toggle svg {
	height: 1em;
	width: auto;
	margin-right: 0.5em;
}
#pk-menu-toggle:hover, 
#pk-menu-toggle:active {
	background-color: var(--pk-red);
	color: #fff;
}
#pk-menu-toggle:hover svg path, 
#pk-menu-toggle:active svg path {
	fill: #fff;
}

@media(min-width: 1025px){
	#pk-menu-toggle {
		display:none;
	}
	#kiosk-module .kiosk-menu  li a:after {
		width:100%;
		height: 4px;
		border-radius: 3px;
		background: var(--pk-red);
		position: absolute;
		bottom: -10px;
		left: 0;
		right: 0;
		margin: auto;
		opacity: 0;
		content: '';
		display: inline-block;
	}
	#kiosk-module .kiosk-menu  li a.is-current:after,
	#kiosk-module .kiosk-menu  li a:hover:after {
		opacity:1;
	}
		
	#kiosk-module .kiosk-menu  .kiosk-sub-menu a:hover, 
	#kiosk-module .kiosk-menu  .kiosk-sub-menu a:active {
		text-decoration: underline;
	}
}
@media(max-width: 1024px){
	#kiosk-module .kiosk-menu-container {
		width: auto;
		left: 15px;
		bottom: 70px;
		display:none;
		box-shadow: 0 5px 5px rgba(0,0,0,0.3);
		min-width: 290px;
	}
	#kiosk-module .kiosk-menu {
		padding: 0;
	}
	#kiosk-module .kiosk-menu > ul  {
		border-radius: var(--pk-card-radius);
		flex-direction: column;
		padding: 20px;
		padding-left: 20px;
	}
	
	#kiosk-module .kiosk-menu > ul > li,
	#kiosk-module .kiosk-menu .kiosk-sub-menu li	{
		margin-bottom: 10px;
		width: 100%;
	}
	
	#kiosk-module .kiosk-menu li:has(.kiosk-sub-menu) > a {
		width: 100%;
		position: relative;
		display:inline-block;
	}
	
	#kiosk-module .kiosk-menu  li a.is-current,
	#kiosk-module .kiosk-menu  li a:hover, 
	#kiosk-module .kiosk-menu  li a:focus, 
	#kiosk-module .kiosk-menu .kiosk-sub-menu li a:hover, 
	#kiosk-module .kiosk-menu .kiosk-sub-menu li a:focus, 
	#kiosk-module .kiosk-menu .kiosk-sub-menu li a.is-current {
		color: var(--pk-red);
	}
	#kiosk-module .kiosk-menu li:has(.kiosk-sub-menu) > a:before {
		content: '';
		width: 10px;
		height: 1em;
		background-image:url(../images/right-chevron.svg);
		background-size:contain;
		background-repeat: no-repeat;
		background-position: center;
		transform: rotate(90deg);
		transform-origin: center;
		position:absolute;
		top:0;
		bottom:0;
		right:0;
		margin: auto;
	}
	
	#kiosk-module .kiosk-menu li.pk-submenu-active > a:before {
		transform: rotate(-90deg);
	}
	#kiosk-module .kiosk-menu .kiosk-sub-menu {
		position: static;
		flex-direction: column;
        width: 100%;
        border-radius: 0;
		background-color: transparent;
		text-align: left;
		padding: 10px 0;
		
	}

	#kiosk-module .kiosk-menu .kiosk-sub-menu li a {
		color: #000;
	}
	#kiosk-module .kiosk-menu li a:after {
		bottom: -6px;
		height: 3px;
	}
	#kiosk-module .kiosk-menu li.pk-submenu-active:after {
		display:none;
	}

	#kiosk-module .kiosk-menu .kiosk-logo-container {
		margin: auto;
		margin-bottom: 10px;
		margin-top: -50px;
		width: 100px;
		height: 100px;
		padding-top: 10px;
		box-shadow: 0 5px 5px rgba(0,0,0,0.3);
	}
	#kiosk-module .kiosk-menu .kiosk-logo-container img {
		width: 70px;
	}
}

/* template containers */
.kiosk-template-wrapper {
    position: relative;
    overflow: scroll;
	background-image: url(../images/piikani_BG_web.jpg);
	background-size:cover;
	background-position: left top;
	background-repeat: no-repeat;
	transition: all 0.4s;
}
.kiosk-template-wrapper.bg-zoom-1 {
	background-size: 150%;
    background-position: bottom right;
}
.kiosk-template {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.75s ease;
    transform: translateX(50px);
	background-color: rgba(255,255,255,0.3);
   min-height: 100%;
}
.kiosk-template.active {
	left: 0;
	opacity: 1;
	transform: translateX(0);
	 
}
.kiosk-nav-space {
	padding-bottom: 200px;
}
.kiosk-loading {
    padding: 1em;
    background: #f0f0f0;
    text-align: center;
    font-weight: bold;
}


.kiosk-loading {
    padding: 20px;
    font-weight: bold;
}
#kiosk-content {
	overflow-x: hidden;
    position: relative;
	min-height: var(--pk-h);
}



.template-content {
	
	padding: var(--pk-content-padding);
	padding-bottom: var(--pk-nav-bottom-padding);
}


.pk-inner-scroll {
	overflow-y:scroll;
	padding-right: 15px;
	max-height: 75%;
}


/* Tabs */
#kiosk-module .pk-tabs {
  display: flex;
  gap: 2px;
}

#kiosk-module .pk-tab {
  padding: 5px 12px;
  cursor: pointer;
  color: #000;
  background-color:#FFF;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: var(--pk-btn-radius);
  border:0;
  font-size: 0.9rem;
}

#kiosk-module .pk-tab:hover,
#kiosk-module .pk-tab.is-active {
  background-color: var(--pk-red);
  color: #FFF;
}

/* Panels */
.pk-tab-panel {
  display: none;
  padding: 1rem 0;
}

.pk-tab-panel.is-active {
  display: block;
}

/* Optional: scrollable inner content */
.pk-tab-panel .pk-inner-scroll {
  max-height: 400px; /* adjust as needed */
  overflow-y: auto;
}

/*** Intro ***/
.kiosk-intro {
	z-index: 99;
	width: 100%;
	height: 100%;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left:0;

}
.kiosk-intro .kiosk-intro--begin {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left:0;
	background: rgba(0,0,0,0.6);
	display:flex;
	justify-content: center;
	align-items:center;
	background-image: url(../images/piikani_BG_web.jpg);
	background-size:cover;
	background-position: left top;
	background-repeat: no-repeat;
	cursor:pointer;
}
.kiosk-intro .kiosk-intro--begin:after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left:0;
	background: rgba(0,0,0,0.6);
	content: '';
	display:block;
	z-index: 5;
}

.kiosk-intro .kiosk-intro--begin > div {
	position: relative;
	z-index: 10;
}
.kiosk-intro .kiosk-intro--begin .kiosk-play-button {
	text-align:center;
	margin-bottom: 40px;
}
.kiosk-intro .kiosk-intro--begin .kiosk-play-button svg {
	fill:  var(--pk-light);
	height: 90px;
	width: auto;
}
#kiosk-module .kiosk-intro .kiosk-intro--begin h2 {
	color: var(--pk-light);
	text-transform: uppercase;
	font-weight:bold;
	text-align: center;
}
.kiosk-intro .kiosk-intro--video {
	width: 100%;
	height: 100%;
	background: black;
}
.kiosk-intro  video {
	max-width: 100%;
	max-height: 100%;
}


/*** PAGES **/
/* atsimoihkaan */
.pk-circle-bg {
	position: relative;
	text-align:center;
	margin-top: 30px;
}
.pk-circle-bg:after {
    position: absolute;
    height: 100%;
    width: auto;
    aspect-ratio: 1 / 1;
    background-color: rgba(255, 255, 255, 0.7);
    content: '';
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 100%;
	z-index: 1;
}
.pk-circle-bg > .pk-inner {
	position: relative;
	z-index:10;
	padding: 20px;
}
#kiosk-module .pk-circle-bg p {
	font-size:0.85rem;
	margin-bottom:0;
}

@media(max-width:768px){
	.atsimoihkaan-content .pk-circle-bg {
		width: calc(100% - 30px);
		margin: auto;
	}
	.atsimoihkaan-content .pk-circle-bg:after {
		width: 100%;
		border-radius: 30px;
	}
}
/* traditional sites map */
.kiosk-template-wrapper:has(#kiosk-map) {
	overflow-y:hidden;
}
#kiosk-map {
	height: var(--pk-h);
	min-height: var(--pk-min-h);
}
.pk-map-legend {
	padding:15px;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.9);
	border:1px solid #555;
	    width: 200px;
    margin-right: 10px;
}
.pk-map-legend > div {
	margin-bottom: 5px;
	font-size:0.9rem;
	width: 100%;
	display:inline-block;
	color: black;
		font-famliy: var(--pk-font);
}
.pk-map-legend .ledend-heading {
	border-bottom: 1px solid black;
	padding-bottom: 5px;
	font-weight:bold;
}
.pk-map-legend .legend-item {
	display:inline-flex;
	font-size:0.9rem;
	
}
.pk-map-legend .legend-item img {
	height: 1rem;
	width: auto;
	margin-right: 10px;
}
#kiosk-map .kiosk-carousel {
	position: relative;
	margin-bottom: 5px;
}
#kiosk-map .kiosk-carousel  img {
min-width: 100%;
    object-fit: cover;
}
#kiosk-map .kiosk-carousel--btn {
	text-transform: uppercase;
	background: #fff;
	border-radius: 0;
	border: 0;
	color: black;
	position: absolute;
	top:0;
	bottom:0;
	margin: auto;
    padding: 0 5px;
    height: 1.3em;
    line-height: 1.5em;
    font-size: 0.9rem;
}
#kiosk-map .kiosk-carousel button.kiosk-slide-prev {
	left:0;
}
#kiosk-map .kiosk-carousel button.kiosk-slide-next {
	right:0;
}

#kiosk-map  .infowindow-content p {
	margin-bottom: 2px;
}


/*about*/
.kiosk-page--about .content-box .pk-inner-scroll{
	max-height: 500px;
	overflow-y:scroll;
}

/*piikanissini*/
.piikanissini-content {
	background-color: #fff;
	background-image: var(--pk-radial-bg);
}

@media(min-width: 768px){
	.piikanissini-content .pk-inner {
		columns: 2;
		column-gap: 4rem;
	}

}
/* timeline */
.kiosk-page--timeline .pk-timeline--container > svg {
	max-width: 100%;
    height: auto;
	min-width: 1500px;
}
.kiosk-page--timeline .pk-timeline--container {
	overflow-x:scroll;
	max-width: 100%;
}
/*archaeological site*/
.kiosk-page--archaeological  .pk-max {
	display:flex;
}
.kiosk-page--archaeological  .pk-column {
	flex:1;
	width: 50%;
}

#kiosk-module .kiosk-page--archaeological .pk-circle-bg .pk-inner, 
#kiosk-module .kiosk-page--archaeological .pk-circle-bg .pk-inner p {
	text-align: left;
	color: #fff;
}
.kiosk-page--archaeological .pk-circle-bg {
	aspect-ratio: 1/1;
	height: auto;
	border-radius:100%;
	padding: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kiosk-page--archaeological .pk-circle--1:after {
	background-color: var(--pk-brown);
}
.kiosk-page--archaeological .pk-circle--2:after {
	background-color: var(--pk-red);
}

.kiosk-page--archaeological  .pk-column:last-child .content-box {
	position:relative;
	z-index: 10;
}

@media(min-width: 1024px){
	.kiosk-page--archaeological  .pk-column > div {
		width: 75%;
		gap: 0;
	}
	#kiosk-module .kiosk-page--archaeological .pk-circle--1 {
		margin-top: -30px;
		margin-right: -40px;
	}
	#kiosk-module .kiosk-page--archaeological .pk-circle--2 {
		margin-bottom: -30px;
		margin-left: -40px;
	}
}

@media(max-width: 980px){
	.kiosk-page--archaeological  .pk-max {
		flex-flow: column;
	}
	.kiosk-page--archaeological  .pk-column  {
		width: 100%;
		flex: auto;
	}
	.kiosk-page--archaeological  .pk-column > div {
		width: 550px;
		max-width: 100%;
		margin: -15px auto;
	}
}
@media(max-width: 768px){
	.kiosk-page--archaeological  .pk-column > div  {
		margin: 10px auto;
		width: 100%;
	}
	.kiosk-page--archaeological .pk-circle-bg .pk-inner {
		padding:0;
	}
	.kiosk-page--archaeological .pk-circle-bg {
		padding: 15px;
		
	}
	.kiosk-page--archaeological .pk-circle-bg:after {
		border-radius: 30px;
		aspect-ratio:unset;
	}
}
/* credits */
.pk-credits--funders {
	    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
	justify-content:center;
}
.pk-credits--funders img {
	height: 50px;
	width: auto;
	object-fit: contain;
}

/*creation video */
.kiosk-template:has(.kiosk-creation--video) {
	background-color: rgba(0,0,0,0.35);
}
.kiosk-creation--video {
	padding-bottom: var(--pk-nav-bottom-padding);
	text-align: center;
}

.kiosk-creation--video video {
	max-width: 100%;
    width: auto;
    height: auto;
    max-height: calc(90vh - var(--pk-nav-bottom-padding));
    aspect-ratio: 1920 / 1080;
    background: black;
    margin: auto;
}
/*** STORIES LIST ***/
.kiosk-template.active:has(.pk-stories-content){
	background-color: rgba(0, 0, 0, 0.5);
}
.pk-stories-content {
		background-size:cover;
	background-position: top center;
	background-repeat:no-repeat;
	min-height: var(--pk-h);
}
.pk-stories-content .pk-inner {
	display:flex;
}

.pk-stories-content .pk-page-title-column {
	width: 30%;
}
.pk-stories-content .pk-cards-column {
	width: 70%;
	display:flex;
	flex-wrap: wrap;
	gap: 20px;
}
.pk-stories-content .pk-cards-column .pk-card {
	width: 50%;
}
.pk-stories-content .pk-card .pk-card-thumb {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	height: 200px;
	width: auto;
	object-position: top center;
}

@media(max-width: 768px){
	.pk-stories-content .pk-inner {
		flex-flow: column;
	}
	.pk-stories-content .pk-page-title-column,
	.pk-stories-content .pk-cards-column,
	.pk-stories-content .pk-cards-column .pk-card	{
		width: 100%;
	}
}
/*** Single Stories ***/
#kiosk-module:has(.pk-single-story-content) .kiosk-menu-container {
	display:none;
}
#kiosk-module .pk-single-story-content {
	background-size:cover;
	background-position: top center;
	background-repeat:no-repeat;
	min-height: var(--pk-h);
}
#kiosk-module .pk-single-story-content .content-box {
	background-color: rgba(255, 255, 255, 0.9);
	width: 60%;
	min-width: 450px;
	max-width: calc(100% - (2 * var(--pk-container-padding)));
	border-radius: 10px;
}


#kiosk-module .pk-single-story-content .pk-story-heading .pk-flex-row {
    justify-content: space-between;
    align-items: center;
}

#kiosk-module .pk-single-story-content .pk-story-heading h3 {
	font-weight:500;
}
#kiosk-module .pk-single-story-content .pk-story-heading .pk-play-sound {
	cursor: pointer;
}
#kiosk-module .pk-single-story-content .pk-story-heading .pk-play-sound.pk-audio--playing svg path,
#kiosk-module .pk-single-story-content .pk-story-heading .pk-play-sound:hover svg path, 
#kiosk-module .pk-single-story-content .pk-story-heading .pk-play-sound:focus svg path {
	fill: var(--pk-red);
}
#kiosk-module .pk-single-story-content .pk-story-heading .pk-play-sound svg {
	height: var(--pk-text-size);
	width:auto;
	margin-left: 5px;
}
#kiosk-module .pk-single-story-content hr {
	margin: 15px 0;
	border: none;
	height: 1px; 
	background-color: #000; 
}
.pk-story-text .pk-inner-scroll {
	max-height: 45vh;
	min-height: 300px;
}
.pk-story-text audio,
.pk-tabs-container .story-audio {
	margin-top: 10px;
}
.pk-tabs-container .story-audio p {
	margin-bottom: 0.5em;
}

#kiosk-module .pk-story-back-btn {
	font-size: var(--pk-heading-sm);
	padding: 10px 20px;
	    display: flex;
    align-items: center;
    gap: 10px;
}
/* shrunk */
#kiosk-module .pk-single-story-content .content-box.is-shrunk {
	position: absolute;
	bottom: var(--pk-container-padding);
	border-radius: 100px;
	display: flex;
    gap: 20px;
    align-items: center;
	    padding: 10px 30px;
}
#kiosk-module .pk-single-story-content .content-box.is-shrunk:has(.pk-story-text) {
	justify-content:space-between;
}

#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-story-text .pk-inner-scroll, 
#kiosk-module .pk-single-story-content .content-box:not(.is-shrunk) .toggle-mode-btn--show,
#kiosk-module .pk-single-story-content .content-box.is-shrunk .toggle-mode-btn--hide,
#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tabs, 
#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tab-panel .pk-inner-scroll, 
#kiosk-module .pk-single-story-content .content-box.is-shrunk .toggle-mode-col {
	display:none;
}
#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tabs-container {
	flex:1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tab-panels {
	width: 100%;
}
#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tab-panel {
	padding: 0;
}
#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tab-panel  audio {
	width: 100%;
}
#kiosk-module .pk-single-story-content  .content-box.is-shrunk .pk-story-heading {
	flex:auto;
	max-width: 33%;
}
#kiosk-module .pk-single-story-content  .content-box.is-shrunk .pk-story-heading h2 {
	font-size:var(--pk-heading-md);
	display:flex;
}
#kiosk-module .pk-single-story-content  .content-box.is-shrunk .pk-story-heading h3 {
	font-size:var(--pk-text-size);
	display:flex;
}
@media(max-width:1024px){
	#kiosk-module .pk-single-story-content .content-box,
	#kiosk-module .pk-single-story-content .content-box.is-shrunk{
		position: static;
	}
	
	#kiosk-module .pk-single-story-content .content-box  {
		width:100%;
		max-width: 100%;
		min-width: 0;
		margin-bottom: 20px;
	}
	
	#kiosk-module .pk-single-story-content .content-box.is-shrunk {
		margin-bottom: 500px;
		padding: 10px 20px;
		gap: 10px;
	}
	
}
@media(max-width:768px){
	#kiosk-module .pk-single-story-content .content-box.is-shrunk {
		flex-flow: column;
		border-radius: var(--pk-card-radius);
	}
	
	#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-story-heading, 
	#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tabs-container	{
		 max-width: 100%;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
	}
	#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tab-panels {
		width: 100%;
	}
	#kiosk-module .pk-single-story-content .content-box.is-shrunk .pk-tabs-container .story-audio {
		margin-top:0;
	}
	#kiosk-module .pk-single-story-content .content-box.is-shrunk hr {
		display:none;
	}
	
	
	#kiosk-module .pk-single-story-content  .content-box.is-shrunk .pk-story-heading h2 {
		font-size:var(--pk-heading-md) * 0.75;
		justify-content: center;
	}
}
/*story gallery*/

.pk-gallery.pk-gallery--story {
	position: absolute;
	right:0;
	bottom: 100px;
	margin: auto;
}
#kiosk-module .pk-single-story-content .pk-gallery-slide img {
	max-width:380px; 
	max-height:280px;
}

.pk-gallery-btns {
	background: #fff;
}
.pk-gallery.pk-gallery--story .pk-gallery-slides {
		background: #fff;
		padding: 5px;
}

#kiosk-module .pk-gallery .pk-gallery-btns {
	width: auto;
    display: inline-flex;
	border-radius: 10px 10px 0 0;
}
#kiosk-module .pk-gallery .pk-gallery-btns .pk-gallery--btn {
	border:0;
	padding: 5px;
	background:transparent;
	color: #000;
}
#kiosk-module .pk-gallery .pk-gallery-btns .pk-gallery--btn.pk-slide-prev svg {
	transform:scale(-1);
} 
#kiosk-module .pk-gallery .pk-gallery-btns .pk-gallery--btn svg {
height:var(--pk-text-size);
width: auto;
}
#kiosk-module .pk-gallery:has(.pk-gallery-btns) .toggle-gallery-btn--hide  {
	float: right;
}

#kiosk-module .pk-gallery:not(.is-hidden) .toggle-gallery-btn--show {
	display:none;
}

#kiosk-module .pk-gallery.is-hidden {
	transform:translateX(100%);
}
#kiosk-module .pk-gallery.is-hidden .toggle-gallery-btn--show {
	transform: translateX(-100%) rotate(-90deg) translateY(50px);
	transform-origin: center;
	float:none;
	position: absolute;
	bottom: 100px;
}

@media(max-width:1024px){
	#kiosk-module .pk-gallery:not(.is-hidden) {
		position: static;
		margin: 30px 0;
	}
	#kiosk-module .pk-single-story-content .pk-gallery-slide {
		text-align: center;
	}
}
@media(max-width:768px){
	#kiosk-module .pk-single-story-content .pk-gallery-slide img {
		max-width: 100%;
		max-height: none;
	}
}