/*
 * Styles for the [tmcs_events] / [tmcs_news] / [tmcs_gallery] shortcodes.
 * Scoped with a tmcs-sc- prefix so it can't clash with theme CSS - safe to
 * drop into any theme, including Hello Elementor, via a Shortcode widget.
 */
.tmcs-sc-events,
.tmcs-sc-gallery {
	display: grid;
	grid-template-columns: repeat(var(--tmcs-sc-cols, 3), 1fr);
	gap: 20px;
}
.tmcs-sc-event-card {
	background: #fdf8ec;
	border-radius: 10px;
	overflow: hidden;
	color: #3a0a0f;
	box-shadow: 0 10px 30px rgba(58, 10, 15, 0.15);
	display: flex;
	flex-direction: column;
	font-family: inherit;
}
.tmcs-sc-event-thumb {
	position: relative;
	height: 130px;
	background-size: cover;
	background-position: center;
	background-color: #7a1820;
}
.tmcs-sc-date-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #3a0a0f;
	color: #f0cf7d;
	border: 1px solid #d4a537;
	border-radius: 6px;
	padding: 6px 10px;
	text-align: center;
	line-height: 1.1;
	font-family: Georgia, serif;
}
.tmcs-sc-date-badge .day { display: block; font-size: 18px; font-weight: 800; }
.tmcs-sc-date-badge .mon-year { display: block; font-size: 10px; letter-spacing: .5px; }
.tmcs-sc-event-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.tmcs-sc-event-body h3 { font-size: 16.5px; margin: 0 0 8px; color: #5c1017; }
.tmcs-sc-meta { font-size: 12.5px; color: #6b4a3a; margin: 0 0 3px; display: flex; gap: 6px; align-items: flex-start; }
.tmcs-sc-btn,
.tmcs-sc-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 12.5px;
	text-decoration: none;
	color: #fbeecb;
	background: linear-gradient(180deg, #7a1820, #3a0a0f);
	padding: 8px 18px;
	border-radius: 30px;
	margin-top: auto;
	align-self: flex-start;
}
.tmcs-sc-read-more { background: none; color: #a8801f; padding: 0; }

.tmcs-sc-news-list { display: flex; flex-direction: column; gap: 16px; }
.tmcs-sc-news-item { display: flex; gap: 14px; align-items: flex-start; }
.tmcs-sc-news-thumb {
	width: 66px;
	height: 66px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	background-color: #7a1820;
	flex-shrink: 0;
}
.tmcs-sc-news-date { font-size: 11.5px; color: #a8801f; margin: 0 0 3px; }
.tmcs-sc-news-item h4 { font-size: 14.5px; margin: 0 0 4px; color: #5c1017; }

.tmcs-sc-gallery-item {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	background-color: #7a1820;
}

/* ---------------- Team members ---------------- */
.tmcs-sc-team {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.tmcs-sc-team-card {
	background: #fdf8ec;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(58, 10, 15, 0.15);
	text-align: center;
}
.tmcs-sc-team-thumb {
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	background-color: #7a1820;
}
.tmcs-sc-team-body { padding: 16px 14px 20px; }
.tmcs-sc-team-body h3 { font-size: 16px; margin: 0 0 4px; color: #5c1017; }
.tmcs-sc-team-body p { font-size: 13px; margin: 0; color: #6b4a3a; }

@media (max-width: 900px) {
	.tmcs-sc-team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.tmcs-sc-team { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	.tmcs-sc-events,
	.tmcs-sc-gallery { grid-template-columns: 1fr; }
}

/* ---------------- Contact form ---------------- */
.tmcs-contact-form-wrap {
	max-width: 560px;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid rgba(212, 165, 55, .35);
	border-radius: 14px;
	padding: 32px 36px;
	box-shadow: 0 12px 34px rgba(58, 10, 15, .12);
	box-sizing: border-box;
}
.tmcs-form-notice {
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	background: #f2e9d6;
	color: #6b4a3a;
	border: 1px solid #e4cf94;
}
.tmcs-form-success { background: #e9f6ec; color: #1e6b34; border: 1px solid #bfe4c9; }
.tmcs-form-error { background: #fbeaea; color: #8a2020; border: 1px solid #f0c4c4; }
.tmcs-contact-form * { box-sizing: border-box; }
.tmcs-contact-form .tmcs-form-row { margin-bottom: 18px; }
.tmcs-contact-form .tmcs-form-row-half { display: flex; gap: 16px; }
.tmcs-contact-form .tmcs-form-row-half > div { flex: 1; min-width: 0; }
.tmcs-contact-form label {
	display: block;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .2px;
	color: #5c1017;
	margin-bottom: 6px;
}
.tmcs-contact-form input[type="text"],
.tmcs-contact-form input[type="email"],
.tmcs-contact-form input[type="tel"],
.tmcs-contact-form textarea {
	display: block;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #e4cf94;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	background: #fdf8ec;
	color: #3a0a0f;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tmcs-contact-form textarea { resize: vertical; min-height: 120px; }
.tmcs-contact-form input:focus,
.tmcs-contact-form textarea:focus {
	outline: none;
	border-color: #5c1017;
	box-shadow: 0 0 0 3px rgba(92, 16, 23, .1);
}
.tmcs-contact-form button.btn {
	display: block;
	width: 100%;
	justify-content: center;
	border: none;
	cursor: pointer;
	margin-top: 6px;
	font-size: 15px;
	padding: 13px 26px;
}
.tmcs-form-hp {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 600px) {
	.tmcs-contact-form-wrap { padding: 24px 20px; }
	.tmcs-contact-form .tmcs-form-row-half { flex-direction: column; gap: 0; }
}

/* ---------------- Donations ---------------- */
.tmcs-donate-wrap { max-width: 560px; margin: 0 auto; }
.tmcs-donate-form {
	background: #ffffff;
	border: 1px solid rgba(212, 165, 55, .35);
	border-radius: 14px;
	padding: 32px 36px;
	box-shadow: 0 12px 34px rgba(58, 10, 15, .12);
	box-sizing: border-box;
}
.tmcs-donate-form * { box-sizing: border-box; }
.tmcs-donate-amounts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 20px;
}
.tmcs-donate-amount input[type="radio"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}
.tmcs-donate-amount span {
	display: block;
	text-align: center;
	padding: 12px 6px;
	border: 1px solid #e4cf94;
	border-radius: 30px;
	font-weight: 700;
	color: #5c1017;
	background: #fdf8ec;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tmcs-donate-amount input[type="radio"]:checked + span {
	background: linear-gradient(180deg, #7a1820, #3a0a0f);
	border-color: #3a0a0f;
	color: #fbeecb;
}
.tmcs-donate-form .tmcs-form-row { margin-bottom: 18px; }
.tmcs-donate-form label {
	display: block;
	font-weight: 700;
	font-size: 13px;
	color: #5c1017;
	margin-bottom: 6px;
}
.tmcs-donate-form input[type="text"],
.tmcs-donate-form input[type="email"],
.tmcs-donate-form input[type="number"] {
	display: block;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #e4cf94;
	border-radius: 8px;
	font-size: 14px;
	background: #fdf8ec;
	color: #3a0a0f;
}
.tmcs-donate-form input:focus {
	outline: none;
	border-color: #5c1017;
	box-shadow: 0 0 0 3px rgba(92, 16, 23, .1);
}
.tmcs-donate-form button.btn {
	display: block;
	width: 100%;
	justify-content: center;
	border: none;
	cursor: pointer;
	font-size: 15px;
	padding: 13px 26px;
}
.tmcs-donate-note {
	font-size: 12px;
	color: #6b4a3a;
	text-align: center;
	margin: 12px 0 0;
}

@media (max-width: 480px) {
	.tmcs-donate-amounts { grid-template-columns: repeat(2, 1fr); }
}
