/*
Theme Name: CloudPe Events Theme
Theme URI: https://cloudpe.local
Author: CloudPe
Description: Custom theme built for the CloudPe Event Manager plugin UI.
Version: 1.0.0
Text Domain: cloudpe-events-theme
*/

@font-face {
	font-family: "GT-America";
	src: url("assets/fonts/GT-America-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT-America";
	src: url("assets/fonts/GT-America-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT-America";
	src: url("assets/fonts/GT-America-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Aeonik Fono";
	src: url("assets/fonts/AeonikFono-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Aeonik Fono";
	src: url("assets/fonts/AeonikFono-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Aeonik Fono";
	src: url("assets/fonts/AeonikFono-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--background: #fafafa;
	--foreground: #0a0e17;
	--foreground-80: rgba(10, 14, 23, 0.8);
	--card: #ffffff;
	--primary: #8152ef;
	--primary-hover: #6a32ec;
	--primary-100: #efeafa;
	--primary-50: #f9f7fd;
	--muted: #f3f4f6;
	--muted-foreground: #6a7181;
	--border: #e5e7eb;
	--radius: 0.5rem;
	--font-heading: "GT-America", Arial, Helvetica, sans-serif;
	--font-body: "Aeonik Fono", Arial, Helvetica, sans-serif;
}

html.dark {
	--background: #0a0a10;
	--foreground: #f2f3f7;
	--foreground-80: rgba(242, 243, 247, 0.8);
	--card: #1b1b27;
	--primary: #9e79f6;
	--primary-hover: #b396f8;
	--primary-100: #2c1957;
	--primary-50: #21163b;
	--muted: #272735;
	--muted-foreground: #bcc0d2;
	--border: #424257;
}

html.dark body {
	background: var(--background);
	color: var(--foreground);
}

* {
	box-sizing: border-box;
}

body {
	font-family: var(--font-body);
	color: var(--foreground);
	background: var(--background);
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "GT-America", system-ui, sans-serif;
	font-weight: 700;
}

a {
	color: var(--primary);
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.cp-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px;
}

.cp-logo__svg {
	height: 40px;
	width: auto;
	color: var(--foreground);
	display: block;
}

.cp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.cp-btn--ghost {
	color: var(--primary);
}

.cp-btn--ghost:hover {
	background: rgba(129, 82, 239, 0.05);
}

.cp-btn--primary {
	background: var(--primary);
	color: #fff;
}

.cp-btn--primary:hover {
	background: var(--primary-hover);
}

/* ---------- Header ---------- */

.cp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
}

.cp-announcement {
	background: var(--primary);
	padding: 12px 16px;
	overflow: hidden;
	transition: opacity 0.3s ease;
}

.cp-announcement.is-dismissed {
	display: none;
}

.cp-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.cp-announcement__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	transition: opacity 0.15s ease;
}

.cp-announcement__link:hover {
	opacity: 0.9;
}

.cp-announcement__badge {
	background: #fff;
	color: var(--primary);
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
}

.cp-announcement__sparkle {
	color: rgba(255, 255, 255, 0.8);
}

.cp-announcement__arrow {
	margin-left: 2px;
	transition: transform 0.2s ease;
}

.cp-announcement__link:hover .cp-announcement__arrow {
	transform: translateX(4px);
}

.cp-announcement__close {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 4px;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: color 0.15s ease;
}

.cp-announcement__close:hover {
	color: #fff;
}

.cp-nav {
	background: var(--card);
	border-bottom: 1px solid var(--border);
}

.cp-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.cp-nav__links {
	display: none;
	align-items: center;
	gap: 4px;
}

.cp-nav__link {
	padding: 12px 20px;
	color: var(--foreground);
	font-size: 16px;
	font-weight: 500;
	transition: color 0.15s ease;
}

.cp-nav__link:hover {
	color: var(--primary);
}

.cp-nav__auth {
	display: none;
	align-items: center;
	gap: 12px;
}

.cp-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 8px;
	color: var(--foreground);
	cursor: pointer;
}

.cp-nav__toggle-close {
	display: none;
}

.cp-nav__toggle[aria-expanded="true"] .cp-nav__toggle-open {
	display: none;
}

.cp-nav__toggle[aria-expanded="true"] .cp-nav__toggle-close {
	display: block;
}

.cp-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	border-radius: 6px;
	padding: 0;
	color: var(--muted-foreground);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.cp-theme-toggle:hover {
	background: var(--muted);
	color: var(--foreground);
}

.cp-theme-toggle__sun {
	display: none;
}

html.dark .cp-theme-toggle__moon {
	display: none;
}

html.dark .cp-theme-toggle__sun {
	display: block;
}

.cp-nav__mobile-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.cp-dropdown {
	position: relative;
	/* Fill the nav bar height so the panel (top: 100%) anchors flush
	   to the bottom of the header, and the trigger + panel form one
	   continuous hover target (no dead gap that drops :hover). */
	display: flex;
	align-items: stretch;
	height: 72px;
}

.cp-dropdown--right .cp-dropdown__panel {
	left: auto;
	right: 20px;
}

.cp-dropdown__trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	/* Full-height trigger: hover area spans the whole nav bar so the
	   pointer never leaves the dropdown when moving down to the panel. */
	height: 100%;
	padding: 0 20px;
	background: none;
	border: none;
	color: var(--foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: color 0.15s ease;
}

.cp-dropdown:hover .cp-dropdown__trigger {
	color: var(--primary);
}

.cp-dropdown__trigger svg {
	transition: transform 0.2s ease;
}

.cp-dropdown:hover .cp-dropdown__trigger svg {
	transform: rotate(180deg);
}

.cp-dropdown__panel {
	visibility: hidden;
	position: absolute;
	/* Sit just below the nav bar with a small gap; the ::before bridge
	   fills that gap so hovering from trigger to panel keeps :hover. */
	top: calc(100% + 8px);
	/* Align the panel's left edge under the trigger's text label
	   (trigger has 20px left padding), matching the header design. */
	left: 20px;
	min-width: 340px;
	max-width: calc(100vw - 64px);
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	/* Clip the top accent strip to the panel's rounded corners, so it
	   reads as a line tucked under the top border (astro: overflow-hidden). */
	overflow: hidden;
	box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.18);
	padding: 8px;
	z-index: 50;
	opacity: 0;
	transform: translateY(-12px) scale(0.95);
	filter: blur(4px);
	transition: opacity 0.2s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.2s cubic-bezier(0.23, 1, 0.32, 1),
		filter 0.2s cubic-bezier(0.23, 1, 0.32, 1),
		visibility 0.2s;
}

/* Purple accent strip across the top of the panel (astro: absolute
   top-0 left-0 right-0 h-1 bg-primary). Square edges — the panel's
   overflow:hidden clips it to the rounded top corners, so it reads as
   a line under the top border rather than sitting on the box. */
.cp-dropdown__panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--primary);
	pointer-events: none;
	z-index: 1;
}

/* Transparent bridge over the 8px gap between the nav bar and the panel,
   so moving the pointer down into the panel does not drop :hover. Placed
   on the wrapper (not the panel) so the panel can use overflow:hidden. */
.cp-dropdown::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 8px;
}

.cp-dropdown:hover .cp-dropdown__panel {
	visibility: visible;
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

.cp-dropdown__panel--wide {
	min-width: 640px;
	padding: 16px;
}

.cp-dropdown__sections {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.cp-dropdown__section-title {
	font-family: var(--font-heading);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted-foreground);
	margin: 0 0 12px;
	padding: 0 12px;
}

.cp-dropdown__item-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	margin-left: 6px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	background: var(--primary);
	color: #fff;
}

.cp-dropdown__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	transition: background 0.25s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s cubic-bezier(0.23, 1, 0.32, 1);
	opacity: 0;
	transform: translateX(-12px) scale(0.9);
	transition-delay: calc(var(--cp-item-index, 0) * 40ms);
}

.cp-dropdown:hover .cp-dropdown__item {
	opacity: 1;
	transform: translateX(0) scale(1);
}

.cp-dropdown__item:hover {
	background: linear-gradient(to right, rgba(129, 82, 239, 0.05), rgba(129, 82, 239, 0.1));
}

.cp-dropdown__item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--muted);
	color: var(--muted-foreground);
	transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cp-dropdown__item:hover .cp-dropdown__item-icon {
	background: rgba(129, 82, 239, 0.15);
	color: var(--primary);
	box-shadow: 0 4px 16px -4px rgba(129, 82, 239, 0.3);
}

.cp-dropdown__item-text {
	flex: 1;
	min-width: 0;
}

.cp-dropdown__item-label {
	display: block;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	color: var(--foreground);
	transition: color 0.2s ease;
}

.cp-dropdown__item:hover .cp-dropdown__item-label {
	color: var(--primary);
}

.cp-dropdown__item-desc {
	display: block;
	font-size: 12px;
	color: var(--muted-foreground);
	margin-top: 2px;
}

.cp-dropdown__item-arrow {
	flex-shrink: 0;
	margin-top: 8px;
	color: var(--primary);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cp-dropdown__item:hover .cp-dropdown__item-arrow {
	opacity: 1;
	transform: translateX(0);
}

.cp-nav__mobile {
	display: none;
	border-top: 1px solid var(--border);
	padding: 16px 24px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.cp-nav__mobile.is-open {
	display: block;
}

.cp-mobile-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	font-weight: 500;
	color: var(--foreground);
	cursor: pointer;
	list-style: none;
}

.cp-mobile-group summary::-webkit-details-marker {
	display: none;
}

.cp-mobile-group summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.cp-mobile-group[open] summary::after {
	transform: rotate(-135deg);
}

.cp-mobile-group__items {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 0 12px 12px;
}

.cp-mobile-group__items a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	font-size: 14px;
	color: var(--muted-foreground);
}

.cp-mobile-group__items a:hover {
	color: var(--primary);
}

.cp-mobile-group__items a svg {
	flex-shrink: 0;
}

.cp-mobile-group__section-title {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(106, 113, 129, 0.7);
	padding: 8px 0 4px;
}

.cp-mobile-group__section-title:first-child {
	padding-top: 0;
}

.cp-mobile-link {
	display: block;
	padding: 12px 0;
	font-weight: 500;
	color: var(--foreground);
}

.cp-mobile-auth {
	display: flex;
	gap: 8px;
	padding-top: 16px;
}

.cp-mobile-auth .cp-btn {
	flex: 1;
}

@media (min-width: 1024px) {
	.cp-nav__links,
	.cp-nav__auth {
		display: flex;
	}

	.cp-nav__mobile-actions,
	.cp-nav__mobile {
		display: none;
	}
}

/* ---------- Footer ---------- */

.cp-footer {
	background: var(--card);
	border-top: 1px solid var(--border);
	padding: 64px 0;
}

.cp-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 1024px) {
	.cp-footer__grid {
		grid-template-columns: repeat(6, 1fr);
	}

	.cp-footer__brand {
		grid-column: span 2;
	}
}

/* Footer logo — scoped so the header logo (40px) stays unchanged.
   Matches astro Footer.tsx: h-10 sm:h-12 lg:h-14. */
.cp-footer .cp-logo {
	display: inline-flex;
	align-items: center;
}

.cp-footer .cp-logo__svg {
	height: 40px;
}

@media (min-width: 640px) {
	.cp-footer .cp-logo__svg {
		height: 48px;
	}
}

@media (min-width: 1024px) {
	.cp-footer .cp-logo__svg {
		height: 56px;
	}
}

.cp-footer__tagline {
	margin-top: 16px;
	font-size: 14px;
	color: var(--muted-foreground);
}

.cp-footer__social {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

/* Match astro icon size: h-5 w-5 (20px) */
.cp-footer__social a svg {
	width: 20px;
	height: 20px;
	display: block;
}

.cp-footer__social a {
	color: var(--muted-foreground);
	transition: color 0.15s ease;
}

.cp-footer__social a:hover {
	color: var(--primary);
}

.cp-footer__col h4 {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	color: var(--foreground);
	margin: 0 0 16px;
}

.cp-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cp-footer__col a {
	font-size: 14px;
	color: var(--muted-foreground);
	transition: color 0.15s ease;
}

.cp-footer__col a:hover {
	color: var(--primary);
}

.cp-footer__bottom {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cp-footer__bottom p {
	font-size: 14px;
	color: var(--muted-foreground);
	margin: 0;
}

.cp-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.cp-footer__legal a {
	font-size: 14px;
	color: var(--muted-foreground);
	transition: color 0.15s ease;
}

.cp-footer__legal a:hover {
	color: var(--primary);
}

@media (min-width: 640px) {
	.cp-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

/* ---------- Back to top button (ports astro ScrollToTopButton) ---------- */

.cp-back-to-top {
	position: fixed;
	bottom: 96px; /* bottom-24 */
	right: 24px;  /* right-6 */
	z-index: 50;
	width: 44px;  /* h-11 w-11 */
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 9999px;
	background: var(--primary);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 25px -5px rgba(129, 82, 239, 0.5), 0 8px 10px -6px rgba(129, 82, 239, 0.3);
	/* Hidden state: fade + scale, matching framer-motion initial/exit */
	opacity: 0;
	transform: scale(0.8);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.cp-back-to-top.is-visible {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

.cp-back-to-top:hover {
	background: var(--primary-hover);
	transform: scale(1) translateY(-2px); /* hover:-translate-y-0.5 */
}

.cp-back-to-top:active {
	transform: scale(0.95); /* active:scale-95 */
}

/* ---------- Blog post: hero ---------- */

.blog-hero {
	padding: 64px 24px 0;
	background: var(--background);
	text-align: left;
}

.blog-hero__inner {
	max-width: 720px;
	margin: 0 auto;
}

.blog-hero__category {
	display: inline-flex;
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 6px;
	background: var(--primary-100);
	color: var(--primary);
	font-weight: 500;
	border: 1px solid rgba(129, 82, 239, 0.2);
	margin-bottom: 24px;
}

.blog-hero__title {
	font-family: var(--font-heading);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--foreground);
	margin: 0 0 24px;
}

@media (min-width: 768px) {
	.blog-hero__title {
		font-size: 56px;
	}
}

.blog-hero__meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--muted-foreground);
}

.blog-hero__image {
	margin-top: 32px;
}

.blog-hero__image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	border: 1px solid var(--border);
	object-fit: contain;
}

.blog-hero__divider {
	width: 100%;
	max-width: none;
	margin: 40px 0 0;
	border: none;
	border-top: 1px solid var(--border);
}

/* ---------- Blog post: content ---------- */

.blog-content-frame {
	padding: 24px 24px 64px;
	background: var(--background);
}

.blog-content {
	max-width: 720px;
	margin: 0 auto;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--foreground-80);
	text-align: left;
}

.blog-content h2 {
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 700;
	margin: 40px 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
	color: var(--foreground);
}

.blog-content h3 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	margin: 32px 0 12px;
	color: var(--foreground);
}

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content li,
.blog-content blockquote,
.blog-content table,
.blog-content th,
.blog-content td {
	font-family: "Aeonik Fono", system-ui, sans-serif;
	color: var(--foreground-80);
}

.blog-content p {
	margin: 0 0 20px;
}

.blog-content ul,
.blog-content ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

.blog-content li {
	margin: 0 0 8px;
}

.blog-content li > ul,
.blog-content li > ol {
	margin: 8px 0 0;
}

.blog-content > *:first-child {
	margin-top: 0;
}

.blog-content a {
	color: var(--primary);
}

.blog-content a:hover {
	text-decoration: underline;
}

.blog-content img {
	display: none;
}

.blog-back-link {
	max-width: 720px;
	margin: 40px auto 0;
	padding-top: 32px;
	border-top: 1px solid var(--border);
	text-align: left;
}

.blog-back-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--primary);
}

.blog-back-link a:hover {
	text-decoration: underline;
}

/* ---------- Related posts ---------- */

.related-posts {
	padding: 64px 24px;
	background: rgba(243, 244, 246, 0.3);
	border-top: 1px solid var(--border);
}

html.dark .related-posts {
	background: rgba(39, 39, 53, 0.3);
}

.related-posts__inner {
	max-width: 960px;
	margin: 0 auto;
}

.related-posts__title {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--foreground);
	margin: 0 0 32px;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.related-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.related-posts__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.related-post-card {
	display: block;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--card);
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.related-post-card:hover {
	border-color: rgba(129, 82, 239, 0.5);
}

.related-post-card__image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--muted);
}

.related-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-card__image img {
	transform: scale(1.05);
}

.related-post-card__body {
	padding: 16px;
}

.related-post-card__category {
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--primary);
	font-weight: 500;
}

.related-post-card__title {
	font-family: var(--font-heading);
	margin: 4px 0 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--foreground);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-post-card:hover .related-post-card__title {
	color: var(--primary);
}

.related-post-card__excerpt {
	font-family: var(--font-body);
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--muted-foreground);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

