/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 18 2025 | 13:05:15 */
.featuredEvent_item .loops-wrapper.list-post>.post {margin-bottom: 0!important;}
.featuredEvent-section {
	display: flex;
	flex-direction: row;
	border-radius: 20px;
	overflow: hidden;
	max-width: 1200px;
	margin: auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featuredEvent-section .featuredEvent-image {
/* 	width:40%; */
	background-image: url('https://www.salvation.my/zh/wp-content/uploads/sites/201/2025/07/featured_event_desktop.webp');
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	position: relative;
	min-height: 520px;
/* 	filter: drop-shadow(4px 0px 4px #00000040); */
	box-shadow: 4px 0 4px #00000040;
	position: relative;
	z-index: 1;
}

.featuredEvent-section .featuredEvent-title {
	position: absolute;
	right: 15%;
	height: 100%;
	width: 100%;
	margin-top: auto;
	margin-bottom: auto;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: center;
	font-size: 50px;
	font-family: "Noto Serif SC";
	letter-spacing: 15px;
	color: white;
	font-weight: bold;
	writing-mode: vertical-rl;
}

.featuredEvent-details {
	flex: 1;
	padding: 1rem 5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.featuredEvent-item {
	display: flex;
	gap: 20px;
/* 	margin-bottom: 40px; */
	border-top: 1px solid #212121;
	padding-top: 10px;
	color: #212121;
}

.featuredEvent-date {
	width: 20%;
	text-align: left;
	font-weight: bold;
	font-family: "Noto Serif SC";
}

.featuredEvent-date .month {
	font-size: 16px;
}

.featuredEvent-date .day {
	font-size: 30px;
}

.featuredEvent-info .time {
	font-size: 16px;
	margin-bottom: 5px;
}

.featuredEvent-info .location {
	font-size: 20px;
	font-weight: 500;
}

.featuredEvent-section .featuredEvent-btn {
	margin-top: 20px;
}

.featuredEvent-section .featuredEvent-btn button {
	background-color: #eeeeee;
	border: none;
	border-radius: 30px;
	padding: 12px 24px;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.featuredEvent-section .featuredEvent-btn button:hover {
	background-color: #d6d6d6;
}

@media screen and (max-width: 768px) {
	.featuredEvent-section {
		flex-direction: column;
	}

	.featuredEvent-section .featuredEvent-image {
		background-image: url('https://www.salvation.my/zh/wp-content/uploads/sites/201/2025/07/featured_event_mobile.webp');
		min-height: 200px;
		width: 100%;
	}

	.featuredEvent-section .featuredEvent-title {
		font-size: 48px;
		writing-mode: unset;
		top: unset;
		right: unset;
		bottom: unset;
		width: 100%;
		height: 100%;
		display: flex;
		align-content: center;
		justify-content: center;
		margin: auto;
		letter-spacing: unset;
	}

	.featuredEvent-details {
		padding: 24px;
	}

	.featuredEvent-item {
		flex-direction: row;
		gap: 20px;
	}

	.featuredEvent-date .month {
		font-size: 16px;
	}

	.featuredEvent-date .day {
		font-size: 28px;
	}

	.featuredEvent-info .time {
		font-size: 14px;
	}

	.featuredEvent-info .location {
		font-size: 18px;
	}
}
@media screen and (max-width: 425px) {
	.featuredEvent-section .featuredEvent-title {font-size: 40px;letter-spacing:1px;}
	.featuredEvent-date {width: 30%;}
	.featuredEvent-date .day {font-size: 22px;}
}

/*!=======================================
 *
 *  All Event Listing Page Style 
 *
==========================================*/
.eventList-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 900px;
	margin: 0 auto;
}

.eventList-container .eventList-card {
	display: flex;
	align-items: flex-start;
	gap: 80px;
/* 	border-bottom: 1px solid #e0e0e0; */
	padding-bottom: 100px;
}

.eventList-container .date-box {
	width: 180px;
	border-radius: 45px;
	background: #c4c4c4; /* Gray background */
	text-align: center;
	font-family: "Noto Sans SC", sans-serif;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
	padding: 10px;
}

.eventList-container .date-year {
	background: #c4c4c4;
	color: #fff;
	font-size: 36px;
/* 	padding: 8px 0 0 0; */
	font-weight: bold;
	margin: 0 auto;
}

.eventList-container .date-middle {
	background: #fff;
/* 	padding: 10px 0; */
	height: 170px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.eventList-container .date-month {
	color: #819a71;
	font-size: 60px;
	font-weight: bold;
	line-height: 1;
}

.eventList-container .date-day {
	color: #819a71;
	font-size: 80px;
	font-weight: bold;
	line-height: 1;
}

.eventList-container .date-weekday {
	background: #c4c4c4;
	color: #fff;
	font-size: 36px;
/* 	padding: 4px 0 8px 0; */
	font-weight: bold;
	margin: 0 auto;
}

/* Event details */
.eventList-details {
	flex: 1;
}

.eventList-title {
	font-size: 40px;
	font-weight: bold;
/* 	margin-left: 20px; */
	margin-bottom: 10px;
	font-family: "Noto Serif SC", serif;
	color: #212121;
}

.eventList-subtitle {
	font-size: 25px;
	color: #333;
/* 	margin-left: 20px; */
	margin-bottom: 10px;
/* 	font-weight: normal; */
    font-family: "Noto Serif SC";
}

.eventList-line {
	width: 100%;
	height: 8px;
	background: url("https://www.salvation.my/zh/wp-content/uploads/sites/201/2025/07/line_brush.svg")
		no-repeat;
	background-size: contain;
	margin: 10px 0 0 -10px;
}

ul.eventList-info {
	font-size: 20px;
	color: #333;
	line-height: 1.6;
	padding: 0;
	margin-left: 0;
	margin-top: 20px;
	margin-bottom: 15px;
	list-style-type: none;
}
ul.eventList-info li{margin-bottom: 0;}

/* Buttons */
.eventList-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* Calendar Dropdown styles */
.eventCalendar-dropdown {
	position: relative;
	display: inline-block;
}

.eventCalendar-dropdown-menu {
	display: none;
	position: absolute;
	top: 110%;
	left: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	min-width: 180px;
	font-size: 14px;
	z-index: 2;
}

.eventCalendar-dropdown-menu a {
	display: block;
	padding: 8px 12px;
	text-decoration: none;
	color: #333;
}

.eventCalendar-dropdown-menu a:hover {
	background: #f3f3f3;
}

.eventCalendar-dropdown.active .eventCalendar-dropdown-menu {
	display: block;
}


/* Hidden by default - off-screen and transparent */
.cookie-alert {
  position: fixed;
  top: -60px; /* initially hidden above viewport */
  left: 0;
  width: 100%;
  background: #6a8d4e; /* same green as button */
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  opacity: 0;
  transition: top 0.5s ease, opacity 0.5s ease;
}

/* Active state - slides into view */
.cookie-alert.show {
  top: 0;
  opacity: 1;
}

.cookie-alert button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.cookie-alert button:hover {
  	color: #ddd;
	background-color: transparent;
}

/* Poster Modal Overlay */
/* Modal Overlay with fade animation */
.eventPoster-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Show state - fade in */
.eventPoster-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Poster image styling */
.eventPoster-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

/* Slight zoom on hover */
.eventPoster-modal img:hover {
  transform: scale(1.02);
}

/* Responsive for mobile */
@media (max-width: 600px) {
	.eventList-container .eventList-card {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 30px;
		padding-bottom: 40px;
	}
	.eventList-container .date-box {
		width: 168px;
	}
	.eventList-container .date-middle {
		height: 148px;
	}
	.eventList-container .date-year,
	.eventList-container .date-weekday { 
		font-size: 30px;
	}
	.eventList-container .date-month {
		font-size: 45px;
	}
	.eventList-container .date-day {
		font-size: 65px;
	}

	.eventList-details {
		margin-top: 15px;
		text-align: left;
	}
	.eventList-title {
		font-size: 30px;
/* 		margin-left: 0; */
	}
	.eventList-subtitle {
		font-size: 16px;
/* 		margin-left: 0; */
	}
	
	ul.eventList-info{ margin-left:0}
	ul.eventList-info li {font-size: 14px;}
}

/*!======================================================
 *
 *  Sidebar Card design in Featured Article Content Page
 *
=========================================================*/
.sidebar_card {
/* 	width: 350px; */
	background: url('https://www.salvation.my/zh/wp-content/uploads/sites/201/2025/07/sidebar_bg.jpg') center/cover no-repeat;
	border-radius: 15px;
	padding: 30px 25px;
	color: #fff;
/* 	box-shadow: 0 4px 15px rgba(0,0,0,0.2); */
	position: relative;
}

.sidebar_card h2 {
	font-size: 1.5rem;
	margin-bottom: 25px;
	font-weight: bold;
	font-family: "Noto Serif SC", serif;
	color: #ffffff;
}

.sidebar_card p {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 10px;
}

.sidebar_card p:last-of-type {
	margin-bottom: 40px;
}

