.rm-event-details,
.rm-guest-list,
.rm-list-closed {
	box-sizing: border-box;
	font-family: inherit;
}

.rm-event-details {
	display: grid;
	gap: 6px;
	margin: 0 0 24px;
	padding: 16px 18px;
	border-left: 4px solid currentColor;
	background: rgba(127, 127, 127, .08);
}

.rm-guest-list {
	margin: 40px 0;
	padding: clamp(22px, 5vw, 42px);
	border-radius: 22px;
	background: #101010;
	color: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.rm-form-heading {
	margin-bottom: 26px;
}

.rm-form-kicker {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	opacity: .7;
}

.rm-form-heading h2 {
	margin: 0 0 8px;
	color: inherit;
	font-size: clamp(28px, 5vw, 44px);
	line-height: 1.05;
}

.rm-form-heading p {
	margin: 0;
	color: rgba(255, 255, 255, .72);
}

.rm-guest-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr);
	gap: 14px;
}

.rm-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.rm-field label {
	font-size: 13px;
	font-weight: 700;
}

.rm-field input {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 10px;
	outline: none;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font: inherit;
	transition: border-color .2s, background .2s;
}

.rm-field input:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, .12);
}

.rm-guests-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 28px 0 12px;
}

.rm-guests-title h3 {
	margin: 0;
	color: inherit;
	font-size: 19px;
}

.rm-add-guest,
.rm-submit,
.rm-remove-guest {
	cursor: pointer;
	font: inherit;
}

.rm-add-guest {
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.rm-guests {
	display: grid;
	gap: 12px;
}

.rm-guest-row {
	position: relative;
	padding: 16px 48px 16px 16px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 14px;
	background: rgba(255, 255, 255, .04);
}

.rm-remove-guest {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 22px;
	line-height: 28px;
}

.rm-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 20px 0;
	color: rgba(255, 255, 255, .75);
	font-size: 13px;
	line-height: 1.45;
}

.rm-consent input {
	margin-top: 3px;
}

.rm-submit {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #111;
	font-weight: 800;
}

.rm-submit:disabled {
	cursor: wait;
	opacity: .65;
}

.rm-form-message {
	margin-top: 14px;
	font-weight: 700;
}

.rm-form-message.is-success {
	color: #75e7a2;
}

.rm-form-message.is-error {
	color: #ff9a9a;
}

.rm-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.rm-list-closed {
	margin: 32px 0;
	padding: 18px;
	border-radius: 12px;
	background: #f3f3f3;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 680px) {
	.rm-guest-row {
		grid-template-columns: 1fr;
	}

	.rm-guests-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.rm-guest-list {
		border-radius: 16px;
	}
}


/* Arquivo de eventos */
.rm-events-archive {
	min-height: 70vh;
	padding: clamp(42px, 7vw, 84px) 20px;
	background: #f5f5f5;
}

.rm-events-container {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.rm-events-header {
	max-width: 720px;
	margin-bottom: 34px;
}

.rm-events-kicker {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	color: #666;
}

.rm-events-header h1 {
	margin: 0 0 10px;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1;
	color: #111;
}

.rm-events-header p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #666;
}

.rm-events-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.rm-event-card {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .08);
	transition: transform .22s ease, box-shadow .22s ease;
}

.rm-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .13);
}

.rm-event-card-image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #111;
}

.rm-event-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.rm-event-card:hover .rm-event-card-image img {
	transform: scale(1.025);
}

.rm-event-card-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: #fff;
	font-weight: 900;
	letter-spacing: .12em;
}

.rm-event-status {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.rm-event-status.is-closed {
	background: #222;
	color: #fff;
}

.rm-event-card-content {
	padding: 22px;
}

.rm-event-card-content h2 {
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1.15;
}

.rm-event-card-content h2 a {
	color: #111;
	text-decoration: none;
}

.rm-event-card-meta {
	display: grid;
	gap: 6px;
	margin-bottom: 14px;
	color: #555;
	font-size: 14px;
	line-height: 1.45;
}

.rm-event-card-excerpt {
	margin: 0 0 18px;
	color: #666;
	line-height: 1.55;
}

.rm-event-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	background: #111;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}

.rm-events-pagination {
	margin-top: 36px;
}

.rm-events-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rm-events-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	background: #fff;
	color: #111;
	text-decoration: none;
}

.rm-events-pagination .current {
	background: #111;
	color: #fff;
}

.rm-events-empty {
	padding: 40px;
	border-radius: 18px;
	background: #fff;
	text-align: center;
}

@media (max-width: 980px) {
	.rm-events-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rm-events-archive {
		padding-right: 14px;
		padding-left: 14px;
	}

	.rm-events-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.rm-event-card-content {
		padding: 19px;
	}
}


/* Página individual do evento: largura total, sem sidebar */
.rm-event-single {
	min-height: 70vh;
	padding: clamp(36px, 6vw, 72px) 20px;
	background: #f5f5f5;
}

.rm-event-single-container {
	width: min(980px, 100%);
	margin: 0 auto;
}

.rm-event-single-article {
	width: 100%;
}

.rm-event-single-header {
	margin-bottom: 28px;
	text-align: center;
}

.rm-event-single-header h1 {
	margin: 0;
	font-size: clamp(34px, 6vw, 62px);
	line-height: 1.05;
	color: #111;
}

.rm-event-single-flyer {
	width: min(720px, 100%);
	margin: 0 auto 30px;
	overflow: hidden;
	border-radius: 20px;
	background: #111;
	box-shadow: 0 16px 42px rgba(0, 0, 0, .14);
}

.rm-event-single-flyer img {
	display: block;
	width: 100%;
	height: auto;
}

.rm-event-single-content {
	width: 100%;
}

.rm-event-single-content > .rm-event-details {
	margin-bottom: 24px;
}

/* Garantia extra contra sidebars inseridas pelo tema */
.single-rm_evento .sidebar,
.single-rm_evento #secondary,
.single-rm_evento .widget-area,
.single-rm_evento aside[role="complementary"],
.single-rm_evento .right-sidebar,
.single-rm_evento .left-sidebar {
	display: none !important;
}

.single-rm_evento .site-content,
.single-rm_evento .content-area,
.single-rm_evento #primary,
.single-rm_evento main {
	width: 100% !important;
	max-width: none;
	margin-right: 0 !important;
	margin-left: 0 !important;
	float: none !important;
}

@media (max-width: 640px) {
	.rm-event-single {
		padding-right: 14px;
		padding-left: 14px;
	}

	.rm-event-single-flyer {
		border-radius: 14px;
	}
}


/* Visual preto integral das páginas individuais de evento */
body.single-rm_evento,
body.single-rm_evento #page,
body.single-rm_evento .site,
body.single-rm_evento .site-content,
body.single-rm_evento .content-area,
body.single-rm_evento #content,
body.single-rm_evento #primary,
body.single-rm_evento main,
body.single-rm_evento article,
body.single-rm_evento .rm-event-single,
body.single-rm_evento .rm-event-single-container,
body.single-rm_evento .rm-event-single-article,
body.single-rm_evento .rm-event-single-content {
	background: #000 !important;
	color: #fff !important;
}

body.single-rm_evento .rm-event-single {
	min-height: 100vh;
}

body.single-rm_evento .rm-event-single-header h1,
body.single-rm_evento .rm-event-single-content,
body.single-rm_evento .rm-event-single-content h1,
body.single-rm_evento .rm-event-single-content h2,
body.single-rm_evento .rm-event-single-content h3,
body.single-rm_evento .rm-event-single-content h4,
body.single-rm_evento .rm-event-single-content h5,
body.single-rm_evento .rm-event-single-content h6,
body.single-rm_evento .rm-event-single-content p,
body.single-rm_evento .rm-event-single-content li,
body.single-rm_evento .rm-event-single-content strong,
body.single-rm_evento .rm-event-single-content span {
	color: #fff !important;
}

body.single-rm_evento .rm-events-kicker {
	color: rgba(255, 255, 255, .68) !important;
}

body.single-rm_evento .rm-event-details {
	background: #111 !important;
	border-color: #fff !important;
	color: #fff !important;
}

body.single-rm_evento .rm-event-single-flyer {
	box-shadow: 0 18px 50px rgba(255, 255, 255, .08);
}

/* Remove definitivamente a barra lateral e widgets do tema nos eventos */
body.single-rm_evento .sidebar,
body.single-rm_evento #secondary,
body.single-rm_evento .widget-area,
body.single-rm_evento aside,
body.single-rm_evento .right-sidebar,
body.single-rm_evento .left-sidebar,
body.single-rm_evento .sidebar-container,
body.single-rm_evento .secondary,
body.single-rm_evento .widgets,
body.single-rm_evento .widget {
	display: none !important;
}

body.single-rm_evento .content-area,
body.single-rm_evento #primary,
body.single-rm_evento .site-main,
body.single-rm_evento .main-content,
body.single-rm_evento .container,
body.single-rm_evento .content {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
