html:has(body.rmlp-standalone) {
	margin: 0 !important;
}

body.rmlp-standalone {
	margin: 0;
	min-width: 320px;
	background: #f4f6f5;
}

.rmlp-page,
.rmlp-page *,
.rmlp-page *::before,
.rmlp-page *::after {
	box-sizing: border-box;
}

.rmlp-page {
	--rmlp-accent:#167c80;--rmlp-bg:#f4f6f5;--rmlp-text:#18201f;--rmlp-width:620px;--rmlp-radius:18px;
	min-height: 100vh;
	min-height: 100svh;
	padding: 36px 18px;
	background: var(--rmlp-bg);
	color: var(--rmlp-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.rmlp-container {
	width: min(100%, var(--rmlp-width));
	margin: 0 auto;
}

.rmlp-profile {
	margin: 0 auto 30px;
	text-align: center;
}

.rmlp-avatar {
	width: 104px;
	height: 104px;
	margin: 0 auto 18px;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: 0 5px 24px rgb(0 0 0 / 8%);
}

.rmlp-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rmlp-profile h1 {
	margin: 0;
	color: inherit;
	font: inherit;
	font-size: clamp(1.75rem, 7vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.rmlp-profile p {
	max-width: 48ch;
	margin: 10px auto 0;
	color: inherit;
	font-size: 1rem;
	line-height: 1.55;
	opacity: .78;
}

.rmlp-links {
	display: grid;
	gap: 22px;
}

.rmlp-group {
	display: grid;
	gap: 12px;
}

.rmlp-group-title {
	margin: 0 4px 8px;
	color: inherit;
	font: inherit;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .58;
}

.rmlp-link {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 66px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: var(--rmlp-radius);
	color: inherit;
	text-decoration: none;
	box-shadow: none;
	transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.rmlp-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 7px 22px rgb(0 0 0 / 8%);
}

.rmlp-link:focus-visible {
	outline: 3px solid var(--rmlp-accent);
	outline-offset: 3px;
}

.rmlp-solid {
	background: var(--rmlp-accent);
	color: #fff;
}

.rmlp-outline {
	border-color: currentColor;
	background: transparent;
}

.rmlp-soft {
	background: color-mix(in srgb, var(--rmlp-accent) 14%, transparent);
}

.rmlp-minimal {
	background: rgb(127 127 127 / 10%);
}

.rmlp-icon {
	display: grid;
	flex: 0 0 30px;
	width: 30px;
	place-items: center;
}

.rmlp-icon:empty {
	display: none;
}

.rmlp-icon svg {
	display: block;
}

.rmlp-copy {
	min-width: 0;
	flex: 1;
	text-align: left;
}

.rmlp-copy strong,
.rmlp-copy small {
	display: block;
	color: inherit;
}

.rmlp-copy strong {
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.3;
}

.rmlp-copy small {
	margin-top: 3px;
	font-size: .84rem;
	line-height: 1.35;
	opacity: .74;
}

.rmlp-arrow {
	flex: 0 0 auto;
	font-size: 1.1rem;
	opacity: .65;
}

.rmlp-footer {
	margin-top: 34px;
	text-align: center;
	font-size: .8rem;
	opacity: .55;
}

.rmlp-page[data-style="monochrome"] {--rmlp-accent:#242424;--rmlp-bg:#fafafa;--rmlp-text:#171717}
.rmlp-page[data-style="dark"] {
  /* Match the original RamblingMiles WordPress Link Page dark palette. */
  --rmlp-accent: #202524;
  --rmlp-bg: #101514;
  --rmlp-text: #eef3f1;
  --rmlp-focus: #75d3c7;
}
.rmlp-page[data-style="dark"] .rmlp-link:focus-visible,
.rmlp-page[data-style="dark"] .rmlp-contact-action a:focus-visible {
  outline: 3px solid var(--rmlp-focus);
  outline-offset: 3px;
}
.rmlp-page[data-style="dark"] .rmlp-contact-action a { color: var(--rmlp-text); }
.rmlp-page[data-style="soft"] {--rmlp-accent:#65609b;--rmlp-bg:#f5f1fa;--rmlp-text:#282239}
.rmlp-icon {font-size:.7rem;font-weight:700;max-width:90px;overflow-wrap:anywhere;text-align:center}
@media (min-width: 700px) {
	.rmlp-page {
		padding: 54px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rmlp-link {
		transition: none;
	}

	.rmlp-link:hover {
		transform: none;
	}
}


.rmlp-contact {
	margin-top: 36px;
	padding-top: 30px;
	border-top: 1px solid rgb(127 127 127 / 22%);
}

.rmlp-contact h2 {
	margin: 0;
	color: inherit;
	font: inherit;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
}

.rmlp-contact-intro {
	max-width: 48ch;
	margin: 8px auto 22px;
	text-align: center;
	opacity: .75;
}

.rmlp-contact-form {
	display: grid;
	gap: 8px;
	margin-top: 22px;
}

.rmlp-contact-form label {
	margin-top: 8px;
	font-size: .9rem;
	font-weight: 650;
}

.rmlp-contact-form input,
.rmlp-contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgb(127 127 127 / 35%);
	border-radius: 10px;
	background: rgb(255 255 255 / 70%);
	color: #18201f;
	font: inherit;
	line-height: 1.4;
}

.rmlp-page[data-style="dark"] .rmlp-contact-form input,
.rmlp-page[data-style="dark"] .rmlp-contact-form textarea {
	background: rgb(255 255 255 / 8%);
	color: #eef3f1;
}

@media (prefers-color-scheme: dark) {
	.rmlp-page[data-style="dark"] .rmlp-contact-form input,
	.rmlp-page[data-style="dark"] .rmlp-contact-form textarea {
		background: rgb(255 255 255 / 8%);
		color: #eef3f1;
	}
}

.rmlp-contact-form input:focus-visible,
.rmlp-contact-form textarea:focus-visible,
.rmlp-contact-form button:focus-visible {
	outline: 3px solid var(--rmlp-accent);
	outline-offset: 2px;
}

.rmlp-contact-form button {
	margin-top: 12px;
	padding: 13px 18px;
	border: 0;
	border-radius: var(--rmlp-radius);
	background: var(--rmlp-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.rmlp-contact-form button:hover {
	opacity: .9;
}

.rmlp-notice {
	margin: 18px 0;
	padding: 12px 14px;
	border: 1px solid currentColor;
	border-radius: 10px;
}

.rmlp-success {
	background: rgb(45 140 85 / 10%);
}

.rmlp-error {
	background: rgb(180 55 55 / 10%);
}

.rmlp-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}


/* Contact disclosure, version 1.2.0 */
.rmlp-contact {
	border-top: 0;
	padding-top: 0;
}

.rmlp-contact-disclosure > summary {
	list-style: none;
}

.rmlp-contact-disclosure > summary::-webkit-details-marker {
	display: none;
}

.rmlp-contact-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 12px 18px;
	border: 1px solid var(--rmlp-accent);
	border-radius: var(--rmlp-radius);
	background: transparent;
	color: inherit;
	font-weight: 700;
	cursor: pointer;
}

.rmlp-contact-toggle::after {
	content: "+";
	margin-left: 10px;
	font-size: 1.25rem;
	font-weight: 400;
}

.rmlp-contact-disclosure[open] .rmlp-contact-toggle::after {
	content: "−";
}

.rmlp-contact-toggle:focus-visible {
	outline: 3px solid var(--rmlp-accent);
	outline-offset: 3px;
}

.rmlp-contact-panel {
	padding-top: 28px;
}

.rmlp-consent {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px !important;
	font-size: .84rem !important;
	font-weight: 400 !important;
	line-height: 1.45;
}

.rmlp-consent input {
	flex: 0 0 auto;
	width: 18px !important;
	height: 18px;
	margin: 2px 0 0;
	padding: 0 !important;
}

.rmlp-consent a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}


/* Contact button alignment, version 1.2.1 */
.rmlp-contact-toggle.rmlp-link {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	min-height: 66px;
	padding: 12px 18px;
	font-weight: inherit;
}

.rmlp-contact-toggle.rmlp-link::after {
	content: none;
}

.rmlp-contact-toggle .rmlp-contact-indicator {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 1.25rem;
	font-weight: 400;
	opacity: .65;
}

.rmlp-contact-disclosure[open] .rmlp-contact-indicator {
	font-size: 0;
}

.rmlp-contact-disclosure[open] .rmlp-contact-indicator::after {
	content: "−";
	font-size: 1.25rem;
}


/* Version 2.0.0 */
.rmlp-hero {
	margin: 0 0 26px;
	overflow: hidden;
	border-radius: calc(var(--rmlp-radius) + 4px);
	aspect-ratio: 16 / 8;
	box-shadow: 0 8px 30px rgb(0 0 0 / 10%);
}
.rmlp-hero img { display:block; width:100%; height:100%; object-fit:cover; }
.rmlp-thumb { flex:0 0 48px; width:48px; height:48px; overflow:hidden; border-radius:calc(var(--rmlp-radius) * .55); }
.rmlp-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.rmlp-featured { min-height:76px; box-shadow:0 8px 28px rgb(0 0 0 / 12%); }
.rmlp-featured .rmlp-copy strong { font-size:1.06rem; }
.rmlp-hero {overflow:hidden;border-radius:var(--rmlp-radius);margin-bottom:28px}
.rmlp-hero img {display:block;width:100%;height:auto;max-height:340px;object-fit:cover}
.rmlp-thumb {width:48px;height:48px;flex:0 0 48px;overflow:hidden;border-radius:10px}
.rmlp-thumb img {display:block;width:100%;height:100%;object-fit:cover}
.rmlp-featured {outline:2px solid var(--rmlp-accent);outline-offset:2px}
.rmlp-contact-action {text-align:center}.rmlp-contact-action a {color:var(--rmlp-accent);font-weight:700}

/* B425 compact links: client-owned presentation, independent of plugin API styling. */
.rmlp-page { --rmlp-width: 480px; }
.rmlp-link { min-height: 60px; padding: 11px 17px; gap: 12px; }
.rmlp-copy { text-align: left; }
.rmlp-copy strong { overflow-wrap: break-word; }
.rmlp-featured { min-height: 66px; }
@media (max-width: 520px) {
  .rmlp-page { padding-inline: 16px; }
  .rmlp-link { min-height: 58px; padding: 11px 15px; }
}


/* B425 network icons: client-owned iconography restored. */
.rmlp-link { gap: 14px; }
.rmlp-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  max-width: none;
  overflow: visible;
  text-align: center;
}
.rmlp-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}
.rmlp-thumb {
  border-radius: 12px;
}
.rmlp-copy strong {
  text-align: left;
}
