/* Roaming Aurora Core — works with any theme, matches the Roaming Aurora theme. */
.rac-share, .rac-toc, .rac-author, .rac-trek, .rac-news, .rac-about {
	--rac-primary: var(--ra-primary, #0d7a71);
	--rac-ink: var(--ra-primary-ink, #fff);
	--rac-text: var(--ra-text, #15242b);
	--rac-muted: var(--ra-muted, #56676d);
	--rac-line: var(--ra-line, rgba(21, 36, 43, 0.12));
	--rac-mist: var(--ra-mist, #eaf1ef);
	--rac-surface: var(--ra-surface, #fff);
	--rac-radius: var(--ra-radius, 16px);
	--rac-grad: var(--ra-gradient, linear-gradient(100deg, #2fd39a, #26b7b0 40%, #6b4fd8 75%, #e0709b));
	--rac-head: var(--ra-font-head, inherit);
}
.rac-share .ra-icon, .rac-trek .ra-icon, .rac-author .ra-icon, .rac-about .ra-icon { width: 20px; height: 20px; display: block; }

/* Share */
.rac-share ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rac-share--compact ul { justify-content: center; }
.rac-share__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 16px 8px 12px;
	border: 1px solid var(--rac-line);
	border-radius: 999px;
	background: var(--rac-surface);
	color: var(--rac-text);
	font: 500 0.9rem/1 var(--rac-head);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s, border-color 0.25s, background-color 0.25s, color 0.25s;
}
.rac-share__btn:hover { transform: translateY(-2px); border-color: var(--rac-primary); color: var(--rac-primary); }
.rac-share--compact .rac-share__btn { width: 42px; padding: 0; justify-content: center; }
.rac-share--compact .rac-share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rac-share__btn--whatsapp:hover { color: #1a9e55; border-color: #1a9e55; }
.rac-share__btn--pinterest:hover { color: #c8232c; border-color: #c8232c; }
.rac-share__btn--facebook:hover { color: #1877f2; border-color: #1877f2; }
.rac-share__done {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--rac-text);
	color: var(--rac-surface);
	font-size: 0.78rem;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 6px);
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s;
}
.rac-share__btn.is-copied .rac-share__done { opacity: 1; transform: translate(-50%, 0); }

/* Table of contents */
.rac-toc { margin: 0 0 2em; border: 1px solid var(--rac-line); border-radius: var(--rac-radius); background: var(--rac-surface); overflow: hidden; }
.rac-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	font: 600 1rem/1.2 var(--rac-head);
	cursor: pointer;
	list-style: none;
}
.rac-toc summary::-webkit-details-marker { display: none; }
.rac-toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s; margin-left: auto; }
.rac-toc details[open] summary::after { transform: rotate(-135deg); }
.rac-toc__count { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: var(--rac-mist); color: var(--rac-primary); font-size: 0.78rem; }
.rac-toc ol { margin: 0; padding: 0 20px 18px 40px; font-size: 0.95rem; line-height: 1.5; counter-reset: none; }
.rac-toc ol ol { padding: 6px 0 4px 18px; list-style: lower-alpha; }
.rac-toc li { margin: 6px 0; }
.rac-toc a { color: var(--rac-text); text-decoration: none; }
.rac-toc a:hover { color: var(--rac-primary); text-decoration: underline; }

/* Author box */
.rac-author { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--rac-radius); background: var(--rac-mist); }
.rac-author__avatar img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 3px var(--rac-surface), 0 0 0 5px var(--ra-aurora, #2fd39a); }
.rac-author__body { min-width: 0; }
.rac-author__kicker { margin: 0; color: var(--rac-primary); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.rac-author__name { margin: 2px 0 8px; font-size: 1.35rem; }
.rac-author__bio { margin: 0 0 12px; color: var(--rac-muted); font-size: 0.98rem; }
.rac-author__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rac-author__more { font-weight: 600; margin-right: 6px; }
.rac-author__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rac-surface); color: var(--rac-text); }
.rac-author__icon:hover { color: var(--rac-primary); }
@media (max-width: 520px) { .rac-author { flex-direction: column; } }

/* Trek facts */
.rac-trek {
	position: relative;
	margin: 0 0 2.2em;
	padding: 22px;
	border-radius: var(--rac-radius);
	background: var(--ra-night, #0b1622);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.rac-trek::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto;
	height: 200%;
	z-index: -1;
	background: radial-gradient(40% 30% at 20% 30%, rgba(47, 211, 154, 0.35), transparent 70%), radial-gradient(40% 30% at 80% 20%, rgba(107, 79, 216, 0.35), transparent 70%);
	filter: blur(20px);
}
.rac-trek__title { margin: 0 0 14px; font: 700 0.8rem/1 var(--rac-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ra-aurora, #2fd39a); }
.rac-trek__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
@media (min-width: 620px) { .rac-trek__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rac-trek__item { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.rac-trek__item .ra-icon { grid-row: span 2; color: var(--ra-aurora, #2fd39a); margin-top: 2px; }
.rac-trek dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.rac-trek dd { margin: 2px 0 0; font: 600 1.08rem/1.25 var(--rac-head); font-variant-numeric: tabular-nums; }

/* Newsletter */
.rac-news__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rac-news__row { display: flex; flex-wrap: wrap; gap: 10px; }
.rac-news__row input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--rac-line); font: inherit; }
.rac-news__row .btn, .rac-news__row button { flex: 0 0 auto; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 0; background: var(--rac-primary); color: var(--rac-ink); font: 600 1rem/1 var(--rac-head); cursor: pointer; }
.rac-news--band .rac-news__row { max-width: 560px; margin-inline: auto; }
.rac-news--sidebar .rac-news__row { flex-direction: column; }
.rac-news--sidebar .rac-news__row input[type="email"] { flex-basis: auto; }
.rac-news__note { margin: 10px 0 0; font-size: 0.82rem; color: var(--rac-muted); }
.rac-news__msg { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.rac-news__msg--ok { background: rgba(47, 211, 154, 0.16); color: inherit; }
.rac-news__msg--error { background: rgba(224, 112, 155, 0.18); color: inherit; }

/* About widget */
.rac-about { text-align: center; }
.rac-about__img { width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--rac-surface), 0 0 0 7px var(--ra-aurora, #2fd39a); }
.rac-about__text { color: var(--rac-muted); }
.rac-about__social { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.rac-about__social li { border: 0 !important; padding: 0 !important; }
.rac-about__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rac-mist); color: var(--rac-text); }
.rac-about__social a:hover { background: var(--rac-primary); color: var(--rac-ink); }
.rac-about__link { font-weight: 600; }
