/* 2.72 — shared by the visitor home page and the public pages (Our story, What's inside, Lucy's guides).
 * Brand: black pages, purple #7c3aed / #a855f7 / #d9a6ff, gold #e0b25c / #f3d98b; small text is white; 44px taps. */

/* ---------- the visitor bar ---------- */
.tme-vbar {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 10px 22px;
	max-width: 1180px;
	margin: 0 auto;
	padding: max(12px, env(safe-area-inset-top)) 16px 12px;
	box-sizing: border-box;
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}
/* the logo — the same picture as the login page's top-left logo (58px tall there on a computer, 44px on phones) */
body .tme-vbar a.tme-vbar-mark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	line-height: 0;
	margin-right: auto;
	border-radius: 8px;
}
.tme-vbar a.tme-vbar-mark img { display: block; height: 52px; width: auto; max-width: none; }
body .tme-vbar a.tme-vbar-mark:focus-visible { outline: 3px solid #f3d98b; outline-offset: 3px; }
/* the home page has no small logo: links and pills sit to the right */
.tme-vbar-nologo { justify-content: flex-end; }
.tme-vbar-links { display: flex; gap: 4px 22px; }
body .tme-vbar-links a, body .tme-vbar-drop a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
body .tme-vbar-links a:hover, body .tme-vbar-drop a:hover { color: #f3d98b; }
.tme-vbar-menu { display: none; position: relative; }
.tme-vbar-menu summary {
	list-style: none;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #5b4670;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
}
.tme-vbar-menu summary::-webkit-details-marker { display: none; }
.tme-vbar-drop {
	position: absolute;
	top: 52px;
	left: 0;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	padding: 8px 16px;
	background: #12091b;
	border: 1px solid #a855f7;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}
.tme-vbar-pills { display: flex; gap: 8px; }
body a.tme-vpill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	box-sizing: border-box;
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}
body a.tme-vpill-join {
	background: #7c3aed;
	border: 2px solid #a855f7;
	color: #fff;
	box-shadow: 0 0 14px rgba(168, 85, 247, .75);
}
body a.tme-vpill-join:hover { background: #8b5cf6; color: #fff; }
body a.tme-vpill-login {
	background: rgba(0, 0, 0, .5);
	border: 2px solid #e0b25c;
	color: #f3d98b;
}
body a.tme-vpill-login:hover { background: rgba(224, 178, 92, .16); color: #fff; }
body a.tme-vpill-big { min-height: 54px; padding: 0 44px; font-size: 18px; }
body a.tme-vpill:focus-visible, .tme-vbar-menu summary:focus-visible { outline: 3px solid #f3d98b; outline-offset: 3px; }

/* phones: the two links fold into the ☰ menu; the wordmark steps aside when space is short */
@media (max-width: 759px) {
	.tme-vbar-links { display: none; }
	.tme-vbar-menu { display: block; }
	.tme-vbar-nologo .tme-vbar-menu { margin-right: auto; }
	.tme-vbar a.tme-vbar-mark img { height: 42px; }
	.tme-vbar { gap: 8px; padding-left: 12px; padding-right: 12px; }
	body .tme-vbar-pills a.tme-vpill { padding: 0 15px; }
}
/* very small phones: no room for the logo beside ☰ and both pills */
@media (max-width: 379px) {
	body .tme-vbar a.tme-vbar-mark { display: none; }
	.tme-vbar-menu { margin-right: auto; }
}

/* ---------- the public pages ---------- */
body.tme-public-body { background: #000 !important; margin: 0; }
body.tme-public-body .wp-site-blocks { background: #000; padding: 0 !important; }
.tme-pub {
	background: radial-gradient(ellipse at top, rgba(124, 58, 237, .28), transparent 520px), #000;
	color: #fff;
	min-height: 100vh;
}
.tme-pub-main {
	max-width: 760px;
	margin: 0 auto;
	padding: 6px 20px 64px;
	box-sizing: border-box;
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	color: #fff;
}
.tme-pub-crumbs { font-size: 14px; line-height: 1.5; margin: 8px 0 14px; }
.tme-pub-crumbs a { color: #f3d98b; text-decoration: underline; text-underline-offset: 3px; }
.tme-pub-crumbs span[aria-hidden] { color: #e0b25c; margin: 0 2px; }
h1.tme-pub-title {
	margin: 0 0 18px;
	font-family: 'Cinzel', Georgia, serif;
	font-weight: 700;
	font-size: clamp(26px, 6vw, 40px);
	line-height: 1.22;
	color: #e0b25c;
	text-shadow: 0 0 12px rgba(224, 178, 92, .35);
}
.tme-pub-content { font-size: 17px; line-height: 1.7; }
.tme-pub-content p { margin: 0 0 18px; color: #fff; }
.tme-pub-content h2 {
	margin: 34px 0 10px;
	font-family: 'Cinzel', Georgia, serif;
	font-weight: 600;
	font-size: clamp(21px, 4.6vw, 26px);
	line-height: 1.3;
	color: #e0b25c;
}
.tme-pub-content h3 { margin: 26px 0 8px; font-size: 19px; color: #f3d98b; }
.tme-pub-content a { color: #f3d98b; text-decoration: underline; text-underline-offset: 3px; }
.tme-pub-content ul, .tme-pub-content ol { margin: 0 0 18px; padding-left: 1.3em; }
.tme-pub-content img { max-width: 100%; height: auto; border-radius: 12px; }
.tme-pub-content p.tme-pub-lead {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.5;
}
.tme-pub-building {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0 0 26px;
	padding: 18px;
	text-align: center;
	border: 1px dashed rgba(224, 178, 92, .7);
	border-radius: 16px;
	background: rgba(28, 20, 8, .7);
}
.tme-pub-building img { width: min(70%, 260px); height: auto; }
.tme-pub-content .tme-pub-building p { margin: 0; font-size: 16px; line-height: 1.5; }

/* cards — hub pages, the home page's guides, "Keep reading" */
ul.tme-pub-cards {
	list-style: none;
	margin: 10px 0 18px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media (min-width: 560px) { ul.tme-pub-cards { grid-template-columns: 1fr 1fr; } }
ul.tme-pub-cards li { margin: 0; min-width: 0; }
body a.tme-pub-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
	background: rgba(16, 6, 28, .88);
	border: 1.5px solid rgba(168, 85, 247, .7);
	border-radius: 16px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0 12px rgba(168, 85, 247, .22);
	transition: box-shadow .2s ease, border-color .2s ease;
}
body a.tme-pub-card:hover { border-color: #e0b25c; box-shadow: 0 0 18px rgba(224, 178, 92, .4); color: #fff; }
a.tme-pub-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.tme-pub-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; flex-grow: 1; }
.tme-pub-card-title { font-family: 'Cinzel', Georgia, serif; font-weight: 600; font-size: 18px; line-height: 1.35; color: #f3d98b; }
.tme-pub-card-text { font-size: 15px; line-height: 1.55; color: #fff; }
.tme-pub-card-more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: #e0b25c; }
p.tme-pub-all { margin: 8px 0 0; text-align: center; }
body p.tme-pub-all a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid #e0b25c;
	border-radius: 999px;
	color: #f3d98b;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
body p.tme-pub-all a:hover { background: rgba(224, 178, 92, .14); color: #fff; }

/* the Join free box */
.tme-pub-join {
	margin: 40px 0 0;
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	border: 2px solid #e0b25c;
	border-radius: 18px;
	background: rgba(28, 20, 8, .85);
}
.tme-pub-join h2 { margin: 0; font-family: 'Cinzel', Georgia, serif; font-size: 22px; line-height: 1.3; color: #f3d98b; }
.tme-pub-join p { margin: 0; font-size: 16px; line-height: 1.5; color: #fff; }

/* related links */
.tme-pub-related { margin-top: 36px; }
.tme-pub-related h2 { margin: 26px 0 12px; font-family: 'Cinzel', Georgia, serif; font-weight: 600; font-size: 20px; color: #e0b25c; }
.tme-pub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body .tme-pub-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #5b4670;
	border-radius: 999px;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
}
body .tme-pub-chips a:hover { border-color: #e0b25c; color: #f3d98b; }
ul.tme-pub-links { list-style: none; margin: 0; padding: 0; }
ul.tme-pub-links li { margin: 0; }
body ul.tme-pub-links a { display: inline-flex; align-items: center; min-height: 44px; color: #f3d98b; font-size: 16px; }
