/* Shared inner content pages */
.content-page {
	padding: 60px 0 80px;
	background: var(--cream, #f7f0e4);
	color: #3a2f24;
}

.content-page .container {
	max-width: 1100px;
}

.content-lead {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #3a2f24;
	margin-bottom: 1.5rem;
}

.content-page h2 {
	font-family: Georgia, serif;
	font-size: 1.65rem;
	color: var(--maroon, #5c1a1a);
	margin: 2rem 0 1rem;
}

.content-page h3 {
	font-family: Georgia, serif;
	font-size: 1.2rem;
	color: #4a2c0a;
	margin: 1.5rem 0 0.75rem;
}

.content-page p {
	line-height: 1.75;
	margin-bottom: 1rem;
	color: #3a2f24;
}

.content-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	color: #3a2f24;
}

.content-list li {
	position: relative;
	padding: 0.55rem 0 0.55rem 1.6rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	line-height: 1.55;
	color: #3a2f24;
}

.content-list li::before {
	content: "✦";
	position: absolute;
	left: 0;
	top: 0.55rem;
	color: #b8860b;
	font-size: 0.85rem;
}

.content-quote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #c9a227;
	background: rgba(201, 162, 39, 0.12);
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 1.1rem;
	color: #4a2c0a;
}

.temple-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.temple-card {
	border: 1px solid rgba(215, 155, 53, 0.45);
	border-radius: 12px;
	padding: 1.25rem;
	background: #fff;
	color: #3a2f24;
}

.temple-card .num {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #5c1a1a;
	color: #fff;
	text-align: center;
	line-height: 2rem;
	font-size: 0.85rem;
	margin-bottom: 0.65rem;
}

.temple-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	color: #5c1a1a;
}

.temple-card .subtitle {
	color: #8a6a18;
	font-style: italic;
	font-size: 0.95rem;
	margin-bottom: 0.75rem;
}

.temple-card p,
.temple-card .content-list,
.temple-card .content-list li {
	color: #3a2f24;
}

.schedule-table,
.festival-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0 2rem;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	table-layout: fixed;
}

.schedule-table th,
.festival-table th,
.schedule-table td,
.festival-table td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid #eee;
	vertical-align: top;
	word-break: break-word;
}

.schedule-table th,
.festival-table th {
	background: #3a2414;
	color: #fff;
	font-weight: 600;
}

.schedule-table tr:nth-child(even),
.festival-table tr:nth-child(even) {
	background: #faf7f0;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
	width: 30%;
	font-weight: 600;
	color: #5c1a1a;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
	width: 70%;
}

.festival-table th:nth-child(1),
.festival-table td:nth-child(1) {
	width: 52%;
}

.festival-table th:nth-child(2),
.festival-table td:nth-child(2) {
	width: 28%;
}

.festival-table th:nth-child(3),
.festival-table td:nth-child(3) {
	width: 20%;
}

@media (max-width: 700px) {
	.schedule-table,
	.festival-table,
	.schedule-table thead,
	.festival-table thead,
	.schedule-table tbody,
	.festival-table tbody,
	.schedule-table th,
	.festival-table th,
	.schedule-table td,
	.festival-table td,
	.schedule-table tr,
	.festival-table tr {
		display: block;
		width: 100%;
	}

	.schedule-table thead,
	.festival-table thead {
		display: none;
	}

	.schedule-table tr,
	.festival-table tr {
		border-bottom: 1px solid #eee;
		padding: 0.85rem 0;
	}

	.schedule-table td,
	.festival-table td {
		border: none;
		padding: 0.2rem 1rem;
	}

	.schedule-table td:first-child,
	.festival-table td:first-child {
		font-weight: 700;
		color: #5c1a1a;
	}
}

.seva-blocks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.seva-block {
	border: 1px solid rgba(215, 155, 53, 0.35);
	border-radius: 12px;
	padding: 1.35rem;
	background: #fffdf8;
	display: flex;
	flex-direction: column;
}

.seva-block h3 {
	margin-top: 0;
}

.seva-block .btn-link {
	margin-top: auto;
	display: inline-block;
	padding: 0.55rem 1rem;
	background: var(--maroon, #5c1a1a);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	text-align: center;
}

.seva-block .btn-link:hover {
	opacity: 0.9;
	color: #fff;
}

.service-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.service-card {
	border: 1px solid rgba(215, 155, 53, 0.35);
	border-radius: 12px;
	padding: 1.35rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	color: #3a2f24;
}

.service-card__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(92, 26, 26, 0.08);
	color: #5c1a1a;
	font-size: 1.15rem;
	margin-bottom: 0.85rem;
}

.service-card h3 {
	margin: 0 0 0.65rem;
	font-family: Georgia, serif;
	color: #5c1a1a;
}

.service-card > p {
	margin-bottom: 0.75rem;
	line-height: 1.6;
	color: #3a2f24;
}

.service-card .content-list {
	flex: 1;
	margin-bottom: 1rem;
}

.service-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: auto;
}

.service-card .btn-link {
	margin-top: 0;
	display: inline-block;
	padding: 0.55rem 1rem;
	background: var(--maroon, #5c1a1a);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	text-align: center;
}

.service-card .btn-link:hover {
	opacity: 0.9;
	color: #fff;
}

.service-card .btn-link--outline {
	background: transparent;
	color: #5c1a1a;
	border: 1px solid #5c1a1a;
}

.service-card .btn-link--outline:hover {
	background: #5c1a1a;
	color: #fff;
}

.donation-process {
	max-width: 720px;
	margin: 0 auto;
}

.donation-process__card {
	background: #fff;
	border: 1px solid rgba(215, 155, 53, 0.35);
	border-radius: 14px;
	padding: 2rem 1.5rem;
	text-align: center;
	color: #3a2f24;
}

.donation-process__card h2 {
	margin: 0.75rem 0 0.5rem;
	color: #5c1a1a;
	font-family: Georgia, serif;
}

.donation-process__lead {
	line-height: 1.6;
	margin: 0 0 1.25rem;
}

.donation-process__note {
	line-height: 1.6;
	margin: 0 0 1.35rem;
	color: #4a3f34;
}

.donation-process__spinner {
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	border: 4px solid #efe2c8;
	border-top-color: #5c1a1a;
	border-radius: 50%;
	animation: donation-spin 0.9s linear infinite;
}

@keyframes donation-spin {
	to { transform: rotate(360deg); }
}

.donation-process__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	font-weight: 700;
	background: #fdecea;
	color: #8b1e1e;
}

.donation-process__icon--ok {
	background: #e8f5e9;
	color: #1b5e20;
}

.donation-process__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	text-align: left;
	margin: 0 0 1.25rem;
	padding: 1rem;
	background: #faf7f0;
	border: 1px solid #eddcc0;
	border-radius: 10px;
}

.donation-process__meta span {
	display: block;
	font-size: 0.8rem;
	color: #7a6a55;
	margin-bottom: 0.15rem;
}

.donation-process__meta strong {
	font-size: 0.98rem;
	word-break: break-word;
	color: #3a2f24;
}

.donation-process__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
}

.donation-process__actions .btn-link {
	margin-top: 0;
	display: inline-block;
	padding: 0.65rem 1.1rem;
	background: #5c1a1a;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
}

.donation-process__actions .btn-link--outline {
	background: transparent;
	color: #5c1a1a;
	border: 1px solid #5c1a1a;
}

.donation-process__card--error .donation-process__actions .btn-link,
.donation-process__card--success .donation-process__actions .btn-link:hover {
	opacity: 0.92;
	color: #fff;
}

@media (max-width: 600px) {
	.donation-process__meta {
		grid-template-columns: 1fr;
	}
}

.razorpay-donate {
	margin: 2rem 0 1rem;
	padding: 1.5rem;
	border: 1px solid rgba(215, 155, 53, 0.45);
	border-radius: 12px;
	background: #fff;
	color: #3a2f24;
}

.razorpay-donate h3 {
	margin: 0 0 0.5rem;
	font-family: Georgia, serif;
	color: #5c1a1a;
}

.razorpay-donate > p {
	margin: 0 0 1rem;
	color: #3a2f24;
}

.razorpay-donate__form label {
	display: block;
	font-size: 0.9rem;
	margin: 0.65rem 0 0.35rem;
	color: #3a2f24;
}

.razorpay-donate__form label:first-of-type {
	margin-top: 0;
}

.razorpay-donate__form > input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	font-size: 1rem;
	color: #3a2f24;
	background: #fff;
	box-sizing: border-box;
}

.razorpay-donate__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: stretch;
}

.razorpay-donate__row input {
	flex: 1 1 120px;
	min-width: 100px;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	font-size: 1rem;
	color: #3a2f24;
	background: #fff;
}

.razorpay-donate__btn {
	padding: 0.65rem 1.35rem;
	border: none;
	border-radius: 6px;
	background: #5c1a1a;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.razorpay-donate__btn:hover:not(:disabled) {
	opacity: 0.92;
}

.razorpay-donate__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.razorpay-donate__status {
	min-height: 1.25rem;
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	color: #3a2f24;
}

.razorpay-donate__status.is-error {
	color: #8b1e1e;
}

.razorpay-donate__status.is-success {
	color: #1e5c2e;
}

.donation-box .razorpay-donate {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.news-list {
	display: grid;
	gap: 1.25rem;
}

.news-item {
	border: 1px solid rgba(215, 155, 53, 0.3);
	border-radius: 12px;
	padding: 1.35rem;
	background: #fff;
	color: #3a2f24;
}

.news-item h3 {
	margin: 0 0 0.65rem;
	font-family: Georgia, serif;
	color: #5c1a1a;
	line-height: 1.35;
	word-break: break-word;
}

.news-item p {
	margin: 0;
	line-height: 1.7;
	color: #3a2f24;
	word-break: break-word;
}

.news-item .tag {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--gold2, #c9a227);
	margin-bottom: 0.45rem;
}

.news-item--media {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 1.25rem;
	align-items: start;
	padding: 1rem;
}

.news-item__image {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 8px;
	background: #efe6d6;
	display: block;
}

.news-item__body {
	min-width: 0;
	padding: 0.35rem 0.25rem 0.35rem 0;
}

@media (max-width: 700px) {
	.news-item--media {
		grid-template-columns: 1fr;
	}

	.news-item__image {
		height: 180px;
	}
}

@media (max-width: 768px) {
	.banner-content h1 {
		font-size: 32px;
	}

	.content-page {
		padding: 40px 0 60px;
	}
}
