.tcvo-event,
.tcvo-detail {
	--tcvo-green: var(--tc-brand);
	--tcvo-green-dark: var(--tc-brand-dark);
	--tcvo-yellow: var(--tc-accent);
	--tcvo-ink: var(--tc-ink);
	--tcvo-border: var(--tc-line);
	--tcvo-muted: var(--tc-muted);
	--tcvo-surface-soft: var(--tc-surface-soft);
	color: var(--tcvo-ink);
	direction: rtl;
}

body.tcvo-page .entry-header.page-header,
body.tcvo-page .entry-header.page-header .banner,
body.tcvo-page .entry-header.page-header .post-thumbnail {
	display: block !important;
}

body.tcvo-page .entry-header.page-header .post-thumbnail img {
	display: block !important;
	height: auto !important;
	width: 100% !important;
}

.tcvo-event {
	margin: 0 auto;
	max-width: none;
	padding: 0 0 64px;
	width: 100%;
}

body.tcvo-page .page-content > .title {
	display: none;
}

body.tcvo-page article.type-page > .container,
body.tcvo-page .page-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.tcvo-event__intro-section {
	background: var(--tcvo-surface-soft);
	margin: 0 0 48px;
	padding: 32px 20px;
}

.tcvo-event__header {
	background: #fff;
	border: 1px solid var(--tcvo-border);
	border-top: 3px solid var(--tcvo-green);
	border-radius: 4px;
	color: var(--tcvo-ink);
	margin: 0 auto;
	max-width: 920px;
	padding: 28px 36px 30px;
	text-align: center;
}

.tcvo-event__hero {
	background: var(--tcvo-surface-soft);
	margin: 0;
	overflow: hidden;
}

.tcvo-event__hero-image {
	display: block;
	height: auto;
	width: 100%;
}

.tcvo-event__header h1 {
	color: var(--tcvo-ink) !important;
	font-family: "IRANSansWeb", Tahoma, sans-serif;
	font-size: clamp(26px, 2.6vw, 34px) !important;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 0 12px;
}

.tcvo-event__header p {
	color: var(--tcvo-muted);
	font-size: 16px;
	line-height: 1.9;
	margin: 0 auto;
}

.tcvo-event__description {
	margin: 0 auto;
	max-width: 800px;
	text-align: center;
}

.tcvo-event__description p + p {
	margin-top: 10px;
}

.tcvo-event__roles-title {
	color: var(--tcvo-ink) !important;
	font-size: 30px !important;
	margin: 0 auto 34px;
	text-align: center;
	width: min(1120px, calc(100% - 40px));
}

.tcvo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 30px;
	margin: 0 auto 48px;
	width: min(1120px, calc(100% - 40px));
}

.tcvo-card {
	border-radius: 0;
	display: flex;
	flex-direction: column;
	padding: 20px 12px;
}

.tcvo-card.is-closed {
	background: #f9fafb;
	opacity: 0.72;
}

.tcvo-card h3 {
	align-items: center;
	color: var(--tcvo-ink);
	display: flex;
	font-size: 18px;
	gap: 10px;
	margin: 0 0 14px;
}

.tcvo-card__icon {
	color: var(--tcvo-green);
	display: inline-flex;
	font-size: 18px;
	justify-content: center;
	width: 24px;
}

.tcvo-card p {
	margin: 7px 0;
}

.tcvo-card__status {
	margin: 7px 0;
}

.tcvo-card__button {
	padding: 10px 16px;
}

.tcvo-form {
	margin: 0 auto;
	max-width: 960px;
	padding: 28px 44px 34px;
	scroll-margin-top: 24px;
}

.tcvo-form__heading {
	margin-bottom: 24px;
	text-align: center;
}

.tcvo-form__heading h2 {
	color: var(--tcvo-ink) !important;
	font-size: 26px !important;
	margin: 0 0 6px;
}

.tcvo-form__heading p {
	color: var(--tcvo-muted);
	margin: 0;
}

.tcvo-form .gform_wrapper,
.tcvo-form .gform_body,
.tcvo-form .gform_fields,
.tcvo-form .gfield,
.tcvo-form .ginput_container,
.tcvo-form .ginput_container_select {
	max-width: 100%;
	min-width: 0;
}

.tcvo-form .ginput_container_select select {
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100% !important;
}

.tcvo-form .gform_button {
	font: inherit;
	font-weight: 700;
	min-height: 42px;
	padding: 9px 20px;
}

.tcvo-form .gform_button:hover,
.tcvo-form .gform_button:focus {
	background: var(--tcvo-green-dark) !important;
	border-color: var(--tcvo-green-dark) !important;
}

.tcvo-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 14px;
}

.tcvo-card__details-link,
.tcvo-detail__back {
	color: var(--tcvo-green-dark);
	font-weight: 700;
	text-decoration: none;
}

.tcvo-card__details-link:hover,
.tcvo-card__details-link:focus,
.tcvo-detail__back:hover,
.tcvo-detail__back:focus {
	text-decoration: underline;
}

.tcvo-detail {
	margin: 0 auto;
	max-width: 780px;
	padding: 48px 20px 72px;
}

.tcvo-detail__event {
	color: #6b7280;
	margin: 28px 0 4px;
}

.tcvo-detail h1 {
	align-items: center;
	color: var(--tcvo-ink);
	display: flex;
	font-size: clamp(28px, 5vw, 42px) !important;
	gap: 12px;
	margin: 0 0 14px;
}

.tcvo-detail__icon {
	color: var(--tcvo-green);
	display: inline-flex;
	font-size: 0.62em;
}

.tcvo-detail__lead {
	color: #4b5563;
	font-size: 18px;
	line-height: 1.9;
}

.tcvo-detail__requirements {
	background: #fff5f5;
	border: 1px solid #f2caca;
	border-right: 4px solid #c62828;
	border-radius: 8px;
	margin: 24px 0;
	padding: 18px 20px;
}

.tcvo-detail__requirements h2 {
	color: #b42318;
	font-size: 19px;
	margin: 0 0 6px;
}

.tcvo-detail__requirements p {
	color: #7f1d1d;
	line-height: 1.9;
	margin: 0;
}

.tcvo-detail__meta {
	background: #edf9f6;
	border-radius: 8px;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 24px 0 32px;
	padding: 20px;
}

.tcvo-detail__meta p {
	margin: 0;
}

.tcvo-detail__meta strong,
.tcvo-detail__meta span {
	display: block;
}

.tcvo-detail__meta span {
	margin-top: 4px;
}

.tcvo-detail__content h3 {
	color: var(--tcvo-green-dark);
	font-family: "IRANSansWeb-Bold", "IRANSansWeb", Tahoma, sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.6;
	margin: 32px 0 12px;
	text-align: start;
}

.tcvo-detail__content p,
.tcvo-detail__content li {
	line-height: 2;
}

.tcvo-detail__content ul {
	padding-right: 22px;
}

.tcvo-detail__apply {
	margin-top: 28px;
	padding: 12px 20px;
}

.tcvo-detail__closed {
	color: #6b7280;
	font-weight: 700;
	margin-top: 28px;
}

@media (max-width: 820px) {
	.tcvo-event,
	.tcvo-detail {
		padding-bottom: 48px;
	}

	.tcvo-event__intro-section {
		margin-bottom: 36px;
		padding: 20px 16px;
	}

	.tcvo-event__header {
		padding: 22px 18px 24px;
	}

	.tcvo-grid {
		grid-template-columns: 1fr;
	}

	.tcvo-event__roles-title,
	.tcvo-grid,
	.tcvo-form {
		width: calc(100% - 32px);
	}

	.tcvo-event__hero {
		border-radius: 0;
	}

	.tcvo-form {
		padding: 24px 18px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tcvo-card {
		scroll-behavior: auto;
		transition: none;
	}
}
