/* Additive polish only. Same colours, fonts, and layout. */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	background: #fff6ec !important;
}
html,
body.page-livecount {
	background: linear-gradient(160deg, #ff7a1a 0%, #e35b00 45%, #c94a00 100%) !important;
	min-height: 100%;
}
body.page-livecount .container {
	background: transparent !important;
}
.page-livecount .live-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 12px;
	box-sizing: border-box;
}
.page-livecount .live-card {
	width: 100%;
	max-width: 980px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
	padding: 22px 22px 26px;
	backdrop-filter: blur(6px);
}
.page-livecount .live-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 16px;
	text-align: center;
	color: #fff;
}
.page-livecount .live-head h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.3px;
}
.page-livecount .live-head p {
	margin: 4px 0 0;
	font-size: 14px;
	opacity: 0.95;
	letter-spacing: 1px;
}
.page-livecount .live-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #7CFF6B;
	box-shadow: 0 0 0 0 rgba(124, 255, 107, 0.7);
	animation: livepulse 1.4s infinite;
	flex-shrink: 0;
}
@keyframes livepulse {
	0% { box-shadow: 0 0 0 0 rgba(124, 255, 107, 0.7); }
	70% { box-shadow: 0 0 0 10px rgba(124, 255, 107, 0); }
	100% { box-shadow: 0 0 0 0 rgba(124, 255, 107, 0); }
}
.page-livecount .live-player {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
	background: #111;
}
.page-livecount .live-enter {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 22px auto 0;
	background: #85B31E;
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	padding: 12px 18px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.page-livecount .live-enter:hover {
	background: #76a01a;
}
@media (max-width: 767px) {
	.page-livecount .live-card {
		padding: 16px 12px 20px;
	}
	.page-livecount .live-head h1 {
		font-size: 20px;
	}
	.page-livecount .live-head p {
		font-size: 12px;
	}
}
.home-box.thumbnail,
.thumbnail.home-box {
	background: #ffffff;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(227, 91, 0, 0.14);
	padding: 0;
	overflow: hidden;
}
.home-box .headline,
.home-box .headline.form-control {
	background: linear-gradient(#FF8330, #e35b00) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-weight: 700;
	letter-spacing: 0.6px;
	margin: 0 !important;
	height: auto !important;
	padding: 12px 10px !important;
	box-sizing: border-box;
}
.home-box .list-group {
	margin: 0;
}
.home-box .list-group-item {
	border: 0;
	border-bottom: 1px solid #f3e6d4;
	text-align: left;
	padding: 10px 14px;
	background: transparent;
}
.home-box .list-group-item:last-child {
	border-bottom: 0;
}
.home-box .badge {
	border-radius: 12px;
	padding: 4px 8px;
	font-weight: 600;
}
.donor-card {
	background: #fffaf2;
	border-left: 4px solid #FF8330;
	border-radius: 10px;
	margin: 8px 10px;
	padding: 10px 12px;
	text-align: left;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.donor-card .donor-date {
	display: inline-block;
	background: #85B31E;
	color: #fff;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
}
.donor-card .donor-name {
	margin: 6px 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}
.donor-card .donor-amt {
	color: #e35b00;
	font-weight: 700;
}
#myCarousel {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
	position: relative;
	z-index: 0;
}
.navbar-fixed-top,
nav.navbar.navbar-fixed-top {
	z-index: 1030 !important;
}
.site-logo {
	height: 100px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain;
}
.btn,
button.button {
	border-radius: 8px !important;
	border: 0;
	font-weight: 600;
}
.btn-success {
	background: #85B31E !important;
}
.btn-warning,
.button.btn-warning {
	background: #FF8330 !important;
}
.footer,
.nav.footer {
	background: linear-gradient(#FF8330, #e35b00) !important;
	padding: 12px 8px;
}
.calender-click .btn {
	margin-top: 6px;
}
.arati-more {
	text-align: center;
}
.arati-more .btn {
	min-width: 120px;
}
.home-box-arati .arati-list {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
#announcement,
#announcement * {
	font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.7 !important;
	color: #333 !important;
	text-align: left !important;
	letter-spacing: 0.2px;
}
#announcement {
	padding: 12px 16px;
	box-sizing: border-box;
}
img,
video {
	max-width: 100%;
	height: auto;
}
.carousel img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
	max-width: none;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center center;
}
iframe {
	max-width: 100%;
}
a,
button,
input[type="submit"],
.btn {
	transition: opacity 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #FF8330;
	outline-offset: 2px;
}
.embed-responsive iframe {
	display: block;
	width: 100%;
}
@media (max-width: 767px) {
	table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Mobile: keep same colours/content, stop horizontal overflow */
@media (max-width: 767px) {
	html,
	body {
		max-width: 100% !important;
		overflow-x: hidden !important;
	}
	.container,
	.container-fluid,
	.container-fuild,
	.row,
	.rows {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	[class*="col-"] {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		display: block !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
		margin-bottom: 12px;
	}
	.thumbnail,
	.marquee_home,
	.marquee_home1,
	.marquee_home2,
	.headline,
	.headline.form-control,
	.list-group,
	.list-group-item,
	.form-control,
	#announcement,
	#wishes,
	#home,
	#donate,
	.box_home,
	.marquee {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}
	.thumbnail {
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.thumbnail .container {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}
	img {
		max-width: 100% !important;
		height: auto !important;
	}
	#myCarousel img,
	.carousel-inner > .item > img {
		width: 100% !important;
		height: 280px !important;
		object-fit: cover !important;
		max-width: none !important;
	}
	#myCarousel,
	#myCarousel .carousel-inner,
	#myCarousel .carousel-inner > .item {
		height: 280px !important;
		width: 100% !important;
	}
	.btn,
	button.btn,
	button.button {
		max-width: 100% !important;
		white-space: normal !important;
	}
	.footer,
	.footer > div,
	.nav.footer {
		width: 100% !important;
		text-align: center !important;
		height: auto !important;
	}
	.footer h4 {
		font-size: 13px !important;
		line-height: 1.4 !important;
	}
	.mobile-site-nav {
		position: relative !important;
		margin-top: 0 !important;
		top: 0 !important;
	}
	.navbar-header {
		float: none !important;
	}
	.navbar-toggle {
		display: block !important;
		float: right !important;
		margin: 8px 12px !important;
	}
	.navbar-collapse.collapse {
		display: none !important;
		height: auto !important;
	}
	.navbar-collapse.collapse.in,
	.navbar-collapse.in {
		display: block !important;
	}
	.navbar-nav,
	.navbar-nav.navbar-left,
	.navbar-nav.navbar-right {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}
	.navbar-nav > li {
		float: none !important;
		display: block !important;
		width: 100% !important;
	}
	.navbar-nav > li > a {
		display: block !important;
		width: 100% !important;
		padding: 10px 15px !important;
	}
	.navbar-nav ul {
		position: static !important;
		display: block !important;
		width: 100% !important;
		padding-left: 15px !important;
	}
	#menu {
		float: none !important;
		width: 100% !important;
		display: block !important;
	}
	#menu li,
	#menu a {
		float: none !important;
		display: block !important;
		width: 100% !important;
		padding: 10px 12px !important;
	}
	#menu ul {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		background: #fc6500 !important;
	}
	.site-logo {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}
	.home-box,
	.donor-btn {
		width: 100% !important;
		max-width: 100% !important;
	}
	.calender-click {
		padding-left: 0 !important;
		text-align: center !important;
	}
	.list-group-item a {
		margin-left: 0 !important;
	}
}
.page-download {
	background: #fff6ec !important;
}
.page-download .download-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(227, 91, 0, 0.12);
	overflow: hidden;
	margin: 10px 8px 24px;
}
.page-download .download-title {
	margin: 0;
	padding: 14px 16px;
	background: linear-gradient(#FF8330, #e35b00);
	color: #fff;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.6px;
}
.page-download .download-table {
	background: #fff;
	margin: 0;
}
.page-download .download-table thead {
	background: #FF8330;
	color: #fff;
}
.page-download .download-table td,
.page-download .download-table th {
	vertical-align: middle !important;
	border-color: #f3e6d4 !important;
}
.page-download .download-btn {
	background: #FF8330 !important;
	border: 0;
	border-radius: 8px;
}
@media (max-width: 767px) {
	.page-download .download-table td,
	.page-download .download-table th {
		white-space: normal;
	}
}
.page-board {
	background: #fff6ec !important;
}
.page-board .panel {
	border: 0;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(227, 91, 0, 0.12);
	overflow: hidden;
}
.page-board .panel-heading {
	background: linear-gradient(#FF8330, #e35b00) !important;
	color: #fff !important;
	border: 0;
}
.page-board .panel-heading h3 {
	color: #fff !important;
	margin: 12px 0;
	font-weight: 700;
}
.page-board .board-objects h3 {
	font-size: 16px;
	line-height: 1.55;
	color: #444;
	margin: 0 0 12px;
}
.page-board .btn-warning {
	background: #FF8330 !important;
	border: 0;
	border-radius: 8px;
	margin: 12px 0 8px;
}
.page-board table {
	background: #fff;
}
.page-board table td {
	vertical-align: middle !important;
}
.page-board table img,
.page-board .board-photo {
	width: 140px !important;
	height: 160px !important;
	max-width: none !important;
	border-radius: 6px;
	object-fit: cover;
	object-position: top center;
	background: #f4f0ea;
	box-shadow: 0 4px 12px rgba(0,0,0,0.14);
	display: block;
}
.page-board .table-bordered {
	border: 0;
}
.page-board .table-bordered td,
.page-board .table-bordered th {
	border-color: #f3e6d4 !important;
}
@media (max-width: 767px) {
	.page-board .col-xs-8,
	.page-board .col-sm-8,
	.page-board .col-md-8 {
		width: 100% !important;
		float: none !important;
	}
	.page-board table td,
	.page-board table th {
		display: block;
		width: 100% !important;
	}
	.page-board table tr {
		display: block;
		margin-bottom: 14px;
		background: #fff;
		border-radius: 10px;
		box-shadow: 0 4px 12px rgba(0,0,0,0.06);
		padding: 8px;
	}
	.page-board .board-photo {
		margin: 8px auto;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	a,
	button,
	input[type="submit"],
	.btn {
		transition: none;
	}
}
